python设置国内源

mkdir .pip
cd .pip
touch pip.conf
nano pip.conf

贴上

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


你可能感兴趣的:(python)