tries to find the same compiler they were built from, but this compiler does not exist on the computer.
THIS IS AN UP TO DATE ANSWER FOR WINDOWS USERS - VERY SIMPLE SOLUTION.Īs pointed out by other, the problem is that python/cython etc.
#Vcvarsall.bat python 3.5 download install
In this case, you need to install the Visual Studio SDK that match your Python version, or a Windows SDK with the correct NET framework version. More info and a workaround for using %%cython magic inside IPython: Īlso, if you have another version of Python, you cannot use Microsoft Visual C++ for Python 2.7, which is a kind of mini-compiler specifically made by Microsoft for Python 2.7. This will get fixed in setuptools in Python 2.7.10.īug report and workaround by Gregory Szorc: This is because of an issue with the VCForPython27.msi which install the header files and vcvarsall.bat in folders of a different layout than the VS2008 SDK and thus confuse the compiler detection of distutils. Steps 2 to 4 must be reproduced everytime before building your C extensions. To fix this issue you can either install the Visual Studio 2008 SDK which will take about a GB, or you can install the very small VCForPython27.msi but which is not well supported by distutils currently, here's the procedure: 1) install Microsoft Visual C++ Compiler for Python 2.7 fromĥ) you can then build your C extensions: python.exe setup.py. There was a discussion to propose a more explanative error (which is continued here, register and comment if you care about it!) but currently it is still not implemented. This cryptic error means that you don't have a C compiler installed.