Installation guide

2. Installation
Please make sure that you download the right version for your Python
installation. If you get import errors or notices of failed initialization, you likely
have the wrong product version installed.
These parameters make a difference:
Operating System Platform
All recent versions of these operating systems are supported:
Windows
Linux
Mac OS X
FreeBSD
Please check the eGenix.com web-site
for the detailed list of available downloads
for these platforms.
If your platform is not among those listed above or on the web-site, eGenix also
provides custom porting services to have mxODBC ported to your platform.
Please write to sales@egenix.com
for details.
Python Build Version
To check which Python version you are using, startup the Python interpreter using
the –V option:
python –V
This will print out the Python version number.
mxODBC supports Python versions 2.4 - 2.7 on most platforms.
Python Build Architecture (32 bit or 64 bit)
On most platforms, eGenix.com supports x86 32-bit and x86_64 (AMD64/EM64T)
64-bit versions of Python.
To find out which Python version you are using, run the following command:
python -c 'import struct; print struct.calcsize("P")*8,"bit"'
This will print out “32 bit” or “64 bit”.
Unicode Variant (UCS2 or UCS4)
On Unix and Mac OS X, Python can be built using two different Unicode variants:
UCS2 and UCS4. Windows builds are always UCS2 builds.
7