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
Likes(1)

Comment list count 0 Comments

No Comments

WeChat Self-Service

WeChat Consult

TaoBao

support@elephdev.com

发表
评论
Go
Top