課程
/后端開發
/Python
/python進階
我的是python 2.7.5,請問怎么裝pip?怎么樣算是安裝好了?
2015-05-02
源自:python進階 3-5
正在回答
http://www.cnblogs.com/linxiangpeng/p/6380352.html
你看以參考這個網頁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,如果有反饋,沒報錯,就說明已經安裝好了。
舉報
學習函數式、模塊和面向對象編程,掌握Python高級程序設計
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-02-08
http://www.cnblogs.com/linxiangpeng/p/6380352.html
2015-05-04
你看以參考這個網頁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,如果有反饋,沒報錯,就說明已經安裝好了。