From: Sébastien S. <sa...@us...> - 2009-03-20 12:37:38
|
Hi Jeffrey, I do not use windows myself, but as far as I know you should use the same compiler to compile python-sybase than the one that was used to compile Python. python-sybase uses distutils for compilation in a standard way so you will probably experience the same problem with any python package which contains a C extension and you can follow any existing tutorial on compiling a C extension for Python in windows to compile python-sybase. Here is a good start: http://docs.python.org/extending/windows.html http://boodebr.org/main/python/build-windows-extensions regards -- Sébastien Sablé Jeffrey Zelt a écrit : > Is it possible to install the python-sybase module on Windows XP? > > I have tried on and off for 2 years and I have never been successful, > even though I have followed the instructions at: > > http://python-sybase.sourceforge.net/install.html > > This information is clearly wrong and I would appreciated it *very much* > if a single reader of this list would help me. > > First of all, the installation documents states that the "Micorsoft > Visual C++ 2005 Express Edition compiler can be freely downloaded and > used". I have done that and when I try to install python-sybase on > Windows (with Python 2.5.4), I get the following error: > > 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. > > I do not have access to Visual Studio 2003. > > I have also tried using the latest version of Python 2.6.x, but the > installation fails with > > running build_ext > building 'sybasect' extension > error: None > > This is extremely frustrating. Is there *any* way I can install > python-sybase on Windows? > > Our company uses Sybase for large projects and I would like to use > Python for development purposes. > > I hope there is at least one person out there who has managed to > successfully install python-sybase with Python 2.5.x on Windows. If so, > I would very much like to know what I am doing wrong. > > Many, many thanks in advance. > > Jeffrey Zelt > QFree ASA > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |