When there is an error in pagoda installation, you need to modify the python source pip source

permanent change

Alibaba Cloud http://mirrors.aliyun.com/pypi/simple/
Douban http://pypi.douban.com/simple/
Tsinghua University https://pypi.tuna.tsinghua.edu.cn/simple/
Chinese University of Science and Technology http: //pypi.mirrors.ustc.edu.cn/simple/

--------------------------------------------------
First create the .pip folder
mkdir ~/.pip
create the pip.conf configuration file
touch ~/.pip/pip.conf
modify the pip.conf configuration file
vi ~/.pip/pip.conf
# The contents of the file are as follows
[global]
index- url=https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
---------------------- ----------------------------

Actual combat:

mkdir ~/.pip
touch ~/.pip/pip.conf
vi ~/.pip/pip.conf

# The content of the file is as follows
[global]
index-url=https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com

Guess you like

Origin blog.csdn.net/tiging/article/details/130233474