pip install --user numpy,错误:[错误2]系统找不到指定的文件

时间:2015-10-15 19:16:55

标签: python pycharm

我正在尝试使用python2.7在Pycharm中安装numpy,我收到了这个错误:

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

1 个答案:

答案 0 :(得分:1)

您需要在Windows上安装gcc(编译器),然后将其添加到PATH变量中。

Here is a link关于如何在Windows上安装它。

ETA:安装可以找到的二进制文件here可能更容易。

相关问题