python学习
时间:2018-06-09 18:01:45
收藏:0
阅读:1536
1。pycharm在setting中添加模块时显示错误:Error loading package list:no protocol: trusted-host pypi.douban.com\
问题原因: 官方的pypi不稳定,很慢甚至访问不了
解决方法:在pycharm手动指定源,步骤:file--setting--project untitled--project interpreter——点击加号——manage repositories 然后在其中添加一些指定国内镜像源:如
pipy国内镜像目前有:
豆瓣 http://pypi.douban.com/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
华中理工大学 http://pypi.hustunique.com/
山东理工大学 http://pypi.sdutlinux.org/
评论(0)