2016-05-11 52 views
2

我在Win7 64位,Python 3.4上使用intel C++/Fortran編譯器(Parallel Studio XE 2016,使用VS 2013集成)安裝numpy 1.11.0。所有配置都根據本教程(https://software.intel.com/en-us/node/600681)。它應該使用不是MSVC 2010的英特爾C++編譯器。但是,安裝仍會返回錯誤。在Win7上使用intel C++編譯器進行Numpy安裝

error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat) 

有了這個錯誤,它仍然返回了這個不應該發生的錯誤。它似乎找不到英特爾C++編譯器。

Could not locate executable icc 
Could not locate executable ecc 

回答

0

numpy的構建使用的distutils MSVC編譯器來設置變量(MSVCCompiler.init和MSVCCompiler.initialize在intelccompiler.py)。你有沒有嘗試使用icl(而不是icc),通過傳遞 - 編譯器= intelw到構建步驟?

0

首先升級你的點子 蟒蛇-m PIP安裝--upgrade點子 然後 嘗試安裝numpy的再次 PIP安裝numpy的。

否則,您可以使用here中的Anaconda或miniconda。

這些分佈包含numpy。

相關問題