Compiling and installing python 2.5.2 with Visual C++ 2008

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 10 07:10:52 CET 2008


> ---------------------------------------------------------
> ...
> 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.
> ---------------------------------------------------------
> 
> And because I've been compiling everything needed by pivy (Coin, Qt,
> SoQt, PyQt) with visual c++ 8, I decided to recompile python itself.

There isn't a real installation procedure. You just copy the files by
hand into the places where they belong. In the specific case,
overwriting all .exe, .dll, and .pyd files in an installed directory
should be sufficient.

Regards,
Martin



More information about the Python-list mailing list