Python pip包管理器安裝第三方庫超時解決方案
阿新 • • 發佈:2018-11-08
一、國內映象安裝
使用方法:pip install --映象網站 第三方庫名
二、映象網站
http://pypi.douban.com/simple/ 豆瓣
http://mirrors.aliyun.com/pypi/simple/ 阿里 http://pypi.hustunique.com/simple/ 華中理工大學 http://pypi.sdutlinux.org/simple/ 山東理工大學 http://pypi.mirrors.ustc.edu.cn/simple/ 中國科學技術大學 https://pypi.tuna.tsinghua.edu.cn/simple 清華
三、使用案例(安裝django,使用中國科大映象)
pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ Django