1.如果是因为网速问题,超时了,可以加大pip安装时候的超时时间,设置为1000秒

> pip --default-timeout=1000 install selenium==2.53.6  (install 后面是你要安装的模块)

2.设置个代理(也可以采用FQ方式)

> pip3 install --index-url https://pypi.douban.com/simple django==1.11.9(亲测好用)  (代理路径后面写你要安装的模块)

 

pipy 国内镜像目前有: 

http://pypi.douban.com/ 豆瓣 

http://pypi.hustunique.com/ 华中理工大学 

http://pypi.sdutlinux.org/ 山东理工大学 

http://pypi.mirrors.ustc.edu.cn/ 中国科学技术大学

相关文章: