Python 3、easy_install、pip 和 pypi

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3849762/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-18 13:02:49  来源:igfitidea点击:

Python 3, easy_install, pip and pypi

pythonpython-3.x

提问by Muhammad Alkarouri

What is the current status of easy_install, pip and the repository (pypi.python.org) with regards to Python 3.x?

关于 Python 3.x,easy_install、pip 和存储库 (pypi.python.org) 的当前状态是什么?

Are there versions of easy_install and/or pip that can install the right versions of packages from there? Else, are they expected soon?

是否有可以从那里安装正确版本的软件包的 easy_install 和/或 pip 版本?否则,他们会很快吗?

采纳答案by Daniel Stutzbach

PyPi itself supports Python 3. The setuptoolspackage provides a version of easy_install that works with Python 3.

PyPi 本身支持 Python 3。setuptools包提供了一个适用于 Python 3 的 easy_install 版本。

According to the pip page, pip support Python 3 since v 1.0.

根据pip page,pip 从 v 1.0 开始支持 Python 3。

回答by Piotr Dobrogost

There is ongoing effort to provide support for Python 3 in pip.
See Porting Pip to Python 3thread on virtualenv mailing list or head directly to Vinay Sajip's repoon bitbucket.org

目前正在努力在 pip 中提供对 Python 3 的支持。
请参阅virtualenv 邮件列表上的将Pip 移植到 Python 3线程或直接前往bitbucket.org 上的Vinay Sajip 存储

回答by blebo

As of version 1.0, pipsupports Python 3.

从 1.0 版开始,pip支持 Python 3。

回答by gecco

Notice that easy_install is shipped with Python 3.4 and higher

请注意,easy_install 随 Python 3.4 及更高版本一起提供