网络上有提供一种永久修改源的方法:
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
使用后经常下载到一半后掉线,遂决定换回原来的,卸了重装不行(绝望),终于发现了改回去的方法:
- 执行以上代码后,会在C:\Users\{电脑名称}\AppData\Roaming\新建一个pip文件夹,删掉就好
网络上有提供一种永久修改源的方法:
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
使用后经常下载到一半后掉线,遂决定换回原来的,卸了重装不行(绝望),终于发现了改回去的方法:
- 执行以上代码后,会在C:\Users\{电脑名称}\AppData\Roaming\新建一个pip文件夹,删掉就好