From: Jeffrey Z. <Jef...@q-...> - 2007-09-03 13:04:40
|
I am having trouble installing the python-sybase module on Windows XP and I wonder if anyone can help me. It seems that a C compiler is necessary for installing this module. According to:=20 http://python-sybase.sourceforge.net/install.html : "The Micorsoft Visual C++ 2005 Express Edition compiler can be freely downloaded and used. It can compile the Sybase module for Python." I have done as instructed and downloaded "Visual C++ 2005 Express Edition". However, when I execute: python setup.py install I receive the following error: running install running build running build_py running build_ext error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py.=20 It seems that Python25 on my machine was compiled with Visual Studio 2003 and this is somehow incompatible with Visual ++ 2005 Express Edition. =20 What can I do? =20 There seems to be only one Python installer at the python.org web site. It seems that this version of Python was compiled with Visual Studio 2003. I cannot find any reference that describes how to compile the Python source on Windows. I am not a Windows expert. I do not have access to any other C compiler for Windows. Is there a *pre-compiled* version of the python-sybase module for Windows XP? Any help/suggestions would be greatly appreciated.=20 Jeffrey Zelt |