在MAC OS 10.12.6上安装pip for python 3.6.2

2024-04-19 07:40:13 发布

您现在位置:Python中文网/ 问答频道 /正文

Python 3安装自python.org网站在Mac OS 10.12.6上
我用sudo easy_install pip安装pip
它发出一堆错误,然后继续在 2.7目录。
如何才能在3.6目录中安装正确版本的pip。在

提前谢谢。在

roberts-MacBook-Pro:~ robertknourek$ sudo easy_install pip
Password:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
Downloading https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
Processing pip-9.0.1.tar.gz
Writing /tmp/easy_install-IhUWLC/pip-9.0.1/setup.cfg
Running pip-9.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IhUWLC/pip-9.0.1/egg-dist-tmp-iyGXIy
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'

Tags: installpippyhttpsorg目录pypidist