为了账号安全,请及时绑定邮箱和手机立即绑定

关于pip安装

我的是python 2.7.5,请问怎么装pip?怎么样算是安装好了?

正在回答

3 回答

http://www.cnblogs.com/linxiangpeng/p/6380352.html

0 回复 有任何疑惑可以回复我~

你看以参考这个网页https://pip.pypa.io/en/stable/installing.html

Install pip

To install pip, securely download get-pip.py. [2]

Then run the following (which may require administrator access):

python get-pip.py

If setuptools (or distribute) is not already installed, get-pip.py will install setuptools for you. [3]

To upgrade an existing setuptools (or distribute), run pip install -U setuptools. [4]

Additionally, get-pip.py supports using the pip install options and the general options. Below are some examples:

Install from local copies of pip and setuptools:

python get-pip.py --no-index --find-links=/local/copies

Install to the user site [5]:

python get-pip.py --user

Install behind a proxy:

判断是否已经安装好,在命令行界面下,输入 pip --help,如果有反馈,没报错,就说明已经安装好了。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
python进阶
  • 参与学习       255763    人
  • 解答问题       2946    个

学习函数式、模块和面向对象编程,掌握Python高级程序设计

进入课程

关于pip安装

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信