Error running Cython - unable to find vcvarsall.bat

3

Good! When I try to run a file with Cython I get the following error:

G:\>python setup.py build_ext --inplace
running build_ext
building 'VF_n' extensión
error: Unable to find vcvarsall.bat

I'm using Python 3.5.1 on Windows 7, 64 bits

I have already installed the Visual Studio as it appeared in an answer to a similar question and the problem persists.

Thank you very much!

    
asked by Kamal Romero 14.05.2016 в 21:28
source

1 answer

2

SOLUTION:

The problem is resolved by activating the "Common Tools for Visual C ++" component in Visual Studio. If you are installing Visual Studio you must do it manually and select that component. If you already have Visual Studio installed, select New Project and in Visual C ++ select the component to install.

Greetings and thanks!

    
answered by 16.05.2016 в 22:06