Che Mcnabb A place for me.

12Jan/110

Resolution to Visual Studio 2003 Python error on Windows

taken from http://paulsems.com/?p=42 thank you Paul!

I was trying to get past this 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.

Here is the solutions

1. Visit: http://sourceforge.net/project/showfiles.php?group_id=2435

2. Download & Run: Automated MinGW Installer (make sure you check the base, g++ and Make)

3. Update your PATH: Add the C:\mingw\bin directory to the system PATH

4. Create (or edit): C:\Python25\Lib\distutils\distutils.cfg and add the following 2 lines:

[build]
compiler=mingw32

I found this solution at: http://livingpyxml.python-hosting.com/wiki/AmaraWindowsInstallTips

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.