mac-pip全局源设置默认阿里云源

mkdir ~/.pip

tee ~/.pip/pip.conf <<-'EOF'
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
EOF

你可能感兴趣的:(macos,pip,阿里云,云计算)