python换源 python最快接换源方法 两行命令搞定!

2022/3/10 1:14:41

本文主要是介绍python换源 python最快接换源方法 两行命令搞定!,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

pip install pqi

pqi use tuna

OK 恭喜你 现在你已经是清华的源了

pqi ls  //展示所有可选择的源

pypi     https://pypi.python.org/simple/
tuna     https://pypi.tuna.tsinghua.edu.cn/simple
douban   http://pypi.douban.com/simple/
aliyun   https://mirrors.aliyun.com/pypi/simple/
ustc     https://mirrors.ustc.edu.cn/pypi/web/simple


pqi use 源名字   //更换所选源

 



这篇关于python换源 python最快接换源方法 两行命令搞定!的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程