Closed GoogleCodeExporter closed 8 years ago
This error occurs because distutils is looking Visual Studio 2008.
Building a Python extension on Windows requires that you have the same C
compiler that was used to build Python. The Windows binaries from python.org
for Python 2.6+ are built with Visual Studio 2008.
If you want to use Visual Studio 2010 then you need to build Python yourself
from source code. There are some notes on how to do this here:
http://wiki.python.org/moin/VS2010
Note that this would mean you must also build from source every other library
that you use which contains C extensions.
Original comment by lukedell...@gmail.com
on 21 May 2012 at 2:02
As mentioned, you must use the same version of Visual Studio that Python was
built with.
Original comment by mkleehammer
on 23 Jun 2012 at 9:32
Original issue reported on code.google.com by
YadongWa...@gmail.com
on 9 May 2012 at 8:55