Reputation: 322
I know there's another question about it here already, but I can't follow the answer. According to this answer, I just need to add a variable. However, i don't know where the variable is created and where it's located. Normally, I work with files and folders only, so i don't know how to get add a variable. Since i thought the variable might be inside the bat files, i looked in vcvarsall.bat, vsvars32.bat, and vsDevCmd.bat. In the latter two files, i found lines saying set VS110COMNTOOLS=
, so on the line directly after i put @set VS90COMNTOOLS= C:\Program Files\Microsoft Visual Studio 11.0\Common7\Tools\
as the answer said. However, the same error occured. I tried to install Visual Studio 2010 as the answer is for 2010, but since i already have VS 2012 i wasn't able to.
To summarize, where is exactly is the environment variable VS10COMNTOOLS=C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\
? Thanks!
edit: sorry i confused VS 11 with 2011
Upvotes: 4
Views: 38286
Reputation: 4733
Set the variable VS110COMNTOOLS
to [...]Microsoft Visual Studio 11.0\Common7\Tools\
Had the same problem in some qt project while using vc compiler. You have to copy each missing file to [...]Microsoft Visual Studio 11.0\Common7\Tools\
folder.
Just:
- Read new error
- copy the missing file located somewhere in [...]Microsoft Visual Studio 11.0\VC\
folder
till no errors
EDIT:
You used VS110
, VS100
and VS90
in your case (VS2011) that would be VS110
Upvotes: 0
Reputation: 7119
What are you trying to import? Some modules don't play nicely on Windows -- best bet is to look at this repository of .exe files for Python packages for Windows.
Also, I've had the best luck by using all 32-bit versions of packages. I would recommend you do the same.
Upvotes: 2