作者:佚名 时间:2023-12-11 09:12:36 阅读:(9)
在测试服务器安装numpy模块的时候命令行显示You are using pip version 19.3.1; however, version 20.1.1 is available.,错误提示的意思是当前的pip版本太低,接下来云梦编程为大家介绍一下pip版本升级,有需要的小伙伴可以参考一下:
File "d:\program files (x86)\python\python37\lib\site-packages\pip\_vendor\url lib3\response.py", line 430, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files .pythonhosted.org', port=443): Read timed out. WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
把命令行窗口切换到Python的安装目录,然后执行升级命令
python -m pip install --upgrade pip
安装成功会有如下提示:
Installing collected packages: pip Found existing installation: pip 19.3.1 Uninstalling pip-19.3.1: Successfully uninstalled pip-19.3.1 Successfully installed pip-20.1.1
pip -V
以上就是云梦编程为大家介绍的关于You are using pip version 19.3.1; however, version 20.1.1 is available的解决方法,了解更多相关文章请关注云梦编程网!