这个问题已经在这里有一个答案:
运行Python脚本时,找不到vcvarsall.bat 17个答案我试图用PyCharm安装numpy,但我不断得到这个错误:
错误:Microsoft Visual C ++ 10.0是必需的(无法找到vcvarsall.bat)。
有人可以向我解释我正在做什么来解决这个错误(尽可能简单和详细)? im使用python 3.4.2(我知道这已经回答了,但我不明白)。
This question already has an answer here:
Cannot find vcvarsall.bat when running a Python script 17 answersIm trying to install numpy with PyCharm but i keep getting this error:
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
Can someone please explain to me exactly what i have to do to fix this error(and as simple and detailed as possible)? im using python 3.4.2 (i know this has been answered before but i did not understand it).
最满意答案
我得到了相同的错误,最后使用SourceForge中可用的预先分配的numpy(可以获得matplotlib的分发)。
可提供32位2.7和3.3 / 3.4的版本。 PyCharm当然会检测到它们。
I got the same error and ended up using a pre-built distribution of numpy available in SourceForge (similarly, a distribution of matplotlib can be obtained).
Builds for both 32-bit 2.7 and 3.3/3.4 are available. PyCharm detected them straight away, of course.
更多推荐
发布评论