python pip命令安装相当于yum仓库

进入pip目录:

 

 

 创建pip.conf:

 

 打开pip.conf

[global]
index-url=https://mirrors.aliyun.com/pypi/simple/
trusted-host=mirrors.aliyun.com

之后在python虚拟环境就可以直接运行pyenv install pip

posted @ 2019-12-04 23:37  努力乄小白  阅读(422)  评论(0编辑  收藏  举报