Python MacOS下永久换源,Python Pip永久换源
# MacOs 下Pip 换源->
cd ~
mkdir .pip
cd .pip
touch pip.conf
vi pip.conf
# 写入配置
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
以下是自己整理的一些国内源->
清华大学:https://pypi.tuna.tsinghua.edu.cn/simp
原创
2022-04-25 15:04:25 ·
1074 阅读 ·
0 评论