python pip is equivalent to the command yum install warehouse

Pip into the directory:

 

 

 Creating pip.conf:

 

 Open pip.conf

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

Then you can run directly in the pyenv install pip python virtual environment

Guess you like

Origin www.cnblogs.com/fuyuteng/p/11986529.html