# 换阿里云的源
$ pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
$ pip config set install.trusted-host mirrors.aliyun.com
# 换清华大学的源
$ pip config set global.index-urlhttps://pypi.tuna.tsinghua.edu.cn/simple
标签:set,cn,mirrors,python,pypi,命令,换源,pip,config From: https://www.cnblogs.com/dawnlz/p/18187200$ pip config set install.trusted-host
pypi.tuna.tsinghua.edu.cn