WARNING: You are using pip version 19.2.3, however version 20.2.2 is available. You should consider

pip报错截图:
报错截图

windows用户作如下修改
1、打开我的电脑,今入C盘\用户

2、创建一个pip的文件夹
WARNING: You are using pip version 19.2.3, however version 20.2.2 is available. You should consider_第1张图片
3、进入这个文件夹创建pip.ini文件
WARNING: You are using pip version 19.2.3, however version 20.2.2 is available. You should consider_第2张图片
4、编辑pip.ini,添加如下内容:(到此windows用户完成修改)

[global]
 index-url = https://pypi.tuna.tsinghua.edu.cn/simple

Linux用户做如下修改:
Linux下,修改 ~/.pip/pip.conf (没有就创建一个), 修改 index-url至tuna,内容如下:

 [global]
 index-url = https://pypi.tuna.tsinghua.edu.cn/simple

你可能感兴趣的:(Python也就那么回事儿)