python -m pip install --upgrade pip 升级不成功问题

 

 

1、使用命令出现

复制代码

WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

复制代码

2、问题解决,这是因为服务器连接超时,使用一下代码即可解决

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

1、使用命令出现

复制代码

WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

复制代码

2、问题解决,这是因为服务器连接超时,使用一下代码即可解决

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

猜你喜欢

转载自www.cnblogs.com/minecity/p/12297752.html
今日推荐