2015-10-15 347 views
0

我試圖在Pycharm與python2.7安裝numpy的,我得到這個錯誤:PIP安裝--user numpy的,錯誤:[錯誤2]系統找不到指定的文件

error: [Error 2] The system cannot find the file specified operable program or batch file. 

'gcc' is not recognized as an internal or external command, operable program or batch file. 

Building msvcr library: "C:\Python27\libs\libmsvcr90.a" (from C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll) 

error: [Error 2] The system cannot find the file specified 
+2

可能的[安裝numpy - 系統找不到指定的文件(msvcr90.dll)]的副本(http://stackoverflow.com/questions/25072357/installing-numpy-the-system-cannot-find-the- file-specified-msvcr90-dll) –

回答

1

您需要在Windows上安裝gcc(編譯器),然後將其添加到您的PATH變量。

Here is a link關於如何在Windows上安裝它。

ETA:安裝二進制文件可能更容易,可以找到here

+0

我安裝了C:\ cygwin64,把C:\ cygwin64 \ bin放在路徑中,現在說:error:command'gcc'failed:No such file or directory –

相關問題