1. 程式人生 > >用國內鏡像源pip加速安裝模塊

用國內鏡像源pip加速安裝模塊

加速 ins com 虛擬環境 sta nbsp sim tar 虛擬

記住,如果使用了virtualenv,一定要先workon進入虛擬環境再執行包安裝命令。

pip install -i https://pypi.douban.com/simple/ 模塊名(如:django==1.9)

用國內鏡像源pip加速安裝模塊