pypi

设置pypi源,加速安装速度

mkdir ~/.pip
cd ~/.pip
touch pip.conf

输入以下内容:

[global]
index-url = https://mirrors.aliyun.com/pypi/simple
[install]
trusted-host = https://mirrors.aliyun.com
posted @ 2021-03-14 12:13  YoungF  阅读(248)  评论(0编辑  收藏  举报