一、将pip修改为pip国内源即可
二、临时修改
三、永久修改
- liunx系统
vim ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
- window系统
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
微信扫一扫
一、将pip修改为pip国内源即可
二、临时修改
三、永久修改
vim ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
相关推荐