mac修改pip源

➜ /home cd ~
➜ ~ git:(master) ✗ pwd
/Users/twob
➜ ~ git:(master) ✗ mkdir .pip
➜ ~ git:(master) ✗ cd .pip
➜ .pip git:(master) ✗ ls
➜ .pip git:(master) ✗ vim pip.conf

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

清华源

原文地址:https://www.cnblogs.com/twobrother/p/12620172.html