reason

This kind of problem is due to domestic network restrictions that can’t connect to the specified download address. You need to configure a domestic acceleration source.

solve

$ cd ~
$ mkdir .pip
$ cd .pip
$ vim pip.conf

pip.conf content

[global]
timeout = 6000
index-url = http://pypi.douban.com/simple
trusted-host = http://pypi.douban.com
点赞(1)

评论列表 共有 0 评论

暂无评论

微信服务号

微信客服

淘宝店铺

support@elephdev.com

发表
评论
Go
顶部