简体   繁体   English

Rexec pip安装在Python 3.4中失败

[英]Rexec pip installation fails in Python 3.4

Command: 命令:

pip install rexec

Error traceback: 错误回溯:

Downloading/unpacking rexec
  Could not find any downloads that satisfy the requirement rexec
Cleaning up...
No distributions at all found for rexec
Storing debug log for failure in C:\Users\JSR-PC\pip\pip.log

The rexec module does not exist in Python 3. It has been deprecated since version 2.6 and removed in Python 3. rexec模块在Python 3中不存在。自2.6版起已弃用该模块,而在Python 3中已将其删除。

Source : https://docs.python.org/2/library/rexec.html 来源: https : //docs.python.org/2/library/rexec.html

As mentioned in answer from iFlo rexec module was removed from Python 3 and although you can find it in Python 2, it was deprecated. 如iFlo rexec模块的回答中所述,该模块已从Python 3中删除,尽管您可以在Python 2中找到它,但已弃用该模块。 However if you want to create resource restricted environment you might want to try pypy to create your own interpreter with constrained use of resources. 但是,如果要创建资源受限的环境,则可能需要尝试pypy来创建自己的解释器,以限制资源的使用。

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

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