I am trying to install Numpy and other packages in virtualenv.
When I try to install it, I get the error message "cannot find vcvarsall.bat". On my main (system) Python, I solved this by installing the Microsoft Visual Studio boot, but this does not work inside virtualenv - the Windows installer wants to install it on my Python by default, and not the one in the virtual environment.
So how do I get around this error? This is not only for Numpy, but also for many packages. Things that don't work:
- Installing an exe file from here using setuptools.
- Starting the installation from the cmd window inside virtualenv.
- Installing from within PyCharm (the same error seems to be just a pip call).
How do I install in virtualenv on windows? [Win 7, Python 2.7.3]
source
share