publicnoob.blogg.se

Vcvarsall.bat python 3.5 download
Vcvarsall.bat python 3.5 download






The MSVC for Python command prompt does have an environment variable that can be used: VCINSTALLDIR. If you are in a MSVC for Python command shell and you also have Visual Studio 2008 installed, distutils will use vcvarsall.bat from the full Visual Studio installation instead of the Python one. Third, even if VS90COMNTOOLS is set, msvc9compiler isn't able to find vcvarsall.bat because it is installed in %installdir%/vcvarsall.bat and not %installdir%/VC/vcvarsall.bat, unlike every other Visual Studio AFAICT.Īnother concern is that _vcvarsall() first attempts to read from the registry, not the environment.

vcvarsall.bat python 3.5 download vcvarsall.bat python 3.5 download

Second, the command environment for MSVC for Python doesn't export VS90COMNTOOLS, so msvc9compiler has no clue where to go looking for files. So, the registry checking in msvc9compiler fails to find anything.

#Vcvarsall.bat python 3.5 download install#

Filesĭistutils as of Python 2.7.9 is unable to locate vcvarsall.bat if Visual C++ Compiler for Python is the only Visual Studio "distribution" installed.ġ) Do a fresh install of Windows + all updatesĢ) Install Microsoft Visual C++ Compiler for Python from ģ) Enter a Visual C++ 2008 command prompt via start menuĤ) Attempt to run any |python.exe setup.py| that contains C extensionsĮxamining the behavior of MSVC for Python's bat scripts and filesystem layout, it is different enough from "full" "distributions" that it confused distutils.įirst, MSVC for Python doesn't appear to set any meaningful registry entries. Michael.Clerx, dstufft, eric.araujo, indygreg, jaraco, naufraghi, ndjensen, piotr.dobrogost, steve.dowerĬreated on 02:59 by indygreg, last changed 14:57 by BreamoreBoy. Distutils fails to locate vcvarsall with Visual C++ Compiler for Python






Vcvarsall.bat python 3.5 download