[egenix-users] mxODBC for python on Debian Sarge
mal at egenix.com
Fri Jan 13 10:29:39 CET 2006
Ingo Maurer wrote:
> how can I install mxODBC on a Debian Sarge system for use with python2.4?
> First I downloaded the rpm-files (mx-base and mx-commercial) from
> egenix.com and
> converted them to deb-files with the debian "alien" software.Then I
> installed both with
> debian's dpkg --install.
> But afterwards when I say in a python-script:
> import mx.ODBC.iODBC
> the import statements in the *.py files don't fit. For example often
> mxODBC ist referenced, but only mx.ODBC (with a dot) works.
> I uninstalled both mx-packages and I tried to build from source, which I
> also downloaded from egenix.com, but the following happens:
> $ python2.4 setup.py
> running installerror: invalid Python installation: unable to open
> /usr/lib/python2.4/config/Makefile (No such file or directory)
> I have no clue what to do.
You need to install the Python -devel package (or whatever
development packages are called on Debian).
Professional Python Services directly from the Source (#1, Jan 13 2006)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the egenix-users