[issue7511] msvc9compiler.py: ValueError: [u'path']

Stefan Krah report at bugs.python.org
Wed Dec 16 12:57:05 CET 2009


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

I think we have two issues here:

First, the default install of VS Express does not support 64-bit tools,
so distutils cannot work with a 64-bit Python install. I verified that
it _does_ work with a 32-bit Python install.


Second, it is possible to install 64-bit tools from the SDK
(See:http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L),
but then some paths are broken in the vcvarsall.bat script:

The script is looking for bin\amd64\vcvarsamd64.bat, the actual path is
bin\vcvarsamd64.bat. The attached diff solves the problem for me, but
someone should verify that the paths are indeed broken when doing the
SDK install as described above.

----------
keywords: +patch
Added file: http://bugs.python.org/file15572/vcvars.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7511>
_______________________________________


More information about the Python-bugs-list mailing list