永久使用国内pypi镜像安装,cmd输入

永久使用国内pypi镜像安装,cmd输入: pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 

 

print("升级pip...")
os.system('python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple')
print("安装filesplit中...")
os.system('pip install filesplit -i https://pypi.tuna.tsinghu

 
 
posted @ 2022-05-26 13:39  很多无尾熊  阅读(87)  评论(0)    收藏  举报
本站已运行[ ]
正在加载今日诗词....