关于pip安装
我的是python 2.7.5,请问怎么装pip?怎么样算是安装好了?
我的是python 2.7.5,请问怎么装pip?怎么样算是安装好了?
2015-05-02
你看以参考这个网页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,如果有反馈,没报错,就说明已经安装好了。
举报