作者:佚名 时间:2023-12-01 09:20:40 阅读:(10)
今天在使用python的pip安装request的模块时,在执行之后提示You are using pip version 20.2.3; however, version 20.2.4 is available.,原来是因为pip的版本太低了,接下来云梦编程为大家介绍一下关于pip升级的方法,有需要的小伙伴可以参考一下:
D:\Python>pip install request ERROR: Could not find a version that satisfies the requirement request (from ver sions: none) ERROR: No matching distribution found for request WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available. You should consider upgrading via the 'd:\program files (x86)\python37\python.ex e -m pip install --upgrade pip' command.
根据提示我们可以看到已经给了我们升级的提示,所以我们可以直接使用下面的命令升级:
python -m pip install --upgrade pip
执行结果如下所示:
D:\Python>pip -V pip 20.2.4 from d:\program files (x86)\python37\lib\site-packages\pip (python 3. 7)
以上就是云梦编程为大家介绍的关于You are using pip version 20.2.3; however, version 20.2.4 is available.升级的方法,了解更多相关文章请关注云梦编程网!