安装Django失败,怎么解决?

来源:2-15 python第三方模块(学会第三方安装方法)

大叔要逆袭

2019-07-21 22:40:53

http://img.mukewang.com/climg/5d34796f00010dae06340687.jpg

写回答

2回答

时间,

2019-07-22

同学,你好。同学可以切换国内镜像源进行操作。

例:pip install django -i xxxxxxxxxxxxxxxxxxx

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

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

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

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

如果我的回答解决了您的疑惑,请采纳!祝学习愉快~~~~

0

冲锋战神

2019-07-22

http://img.mukewang.com/climg/5d350fca0001da4703620021.jpg

看错误信息, 超时了. 访问的是外网, 网络可能不行.

两种解决办法:

  1. 重试几次, 可能就行了

  2. 从 github 下载源码, 然后再本地安装

  3. 下载 whl 本地安装

0

0 学习 · 8160 问题

查看课程