[Distutils] Python 2.3/mingw32

M.-A. Lemburg mal at lemburg.com
Thu Jul 31 19:28:40 EDT 2003


Cory Dodt wrote:
> What is this, and how can I get rid of it?
> 
> cory at cory2k ~/cvs/Twisted
> $ python setup.py build -c mingw32
> running build
> running build_py
> running build_ext
> error: Python was built with version 6 of Visual Studio, and extensions 
> need to
> be built with the same version of the compiler, but it isn't installed.
> 
> I had no problems building these extensions on Python 2.2 following the 
> instructions at http://sebsauvage.net/python/mingw.html .   I did the 
> same thing substituting 2.3 for 2.2, and got the message above.
> 
> Why doesn't it work any more?  --compiler=mingw32 is still valid on the 
> command line.

The above message is generated by the MSVC code, so the only
reason I can see is that your option didn't pass through to
build_ext.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Jul 31 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________




More information about the Distutils-SIG mailing list