繁体   English   中英

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

[英]pip install --user numpy , error: [Error 2] The system cannot find the file specified

我正在尝试使用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

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

这是有关如何在Windows上安装它的链接

ETA:安装二进制文件可能更容易,可在此处找到。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM