解决windows中python——pip安装第三方慢的方法

新建一个名pip的文本文件,将后缀改为ini,用笔记本打开复制下面的文字

[global]
 
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
 
[install]
 
trusted-host=mirrors.aliyun.com

将这个配置文件放在C:\Users\Mankaixin\AppData\Roaming

posted @ 2021-09-18 23:26  mankaixin  阅读(44)  评论(0编辑  收藏  举报