使用这个命令:
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
Writing to /Users/chenhang_vendor/.config/pip/pip.conf
就可以了,再用 pip config list 命令检测一下,出来
global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple/'
这句话说明就成功了。
使用这个命令:
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
Writing to /Users/chenhang_vendor/.config/pip/pip.conf
就可以了,再用 pip config list 命令检测一下,出来
global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple/'
这句话说明就成功了。