![](/img/trans.png)
[英]py is not recognized as an internal or external operable program or batch file
[英]Running setup.py install for pycrypto 'chmod' is not recognized as an internal or external command, operable program or batch file
有python 2.7和已经安装的pycrypto 2.6.1。 Env Windows 8,x64。
使用pip安装需求时出现以下错误(pip install -r file_with_requirements)。
Installing collected packages: pycrypto
Found existing installation: pycrypto 2.6
Uninstalling pycrypto:
Successfully uninstalled pycrypto
Running setup.py install for pycrypto
'chmod' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
我也尝试过普通用户和管理员权限。
您需要在MinGW下安装msys软件包
并在PATH env变量中添加以下条目。
C:\\MinGW\\bin
C:\\MinGW\\msys\\1.0\\bin
[在这里可以找到chmod可执行文件] 然后从正常的Windows命令提示符下运行命令。
安装cygwin,setp可以从以下链接下载:http://cygwin.com/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.