You should consider upgrading via the 'python -m pip install --upgrade pip' command
报错信息:
“You are using pip version 10.0.1, however version 20.0.2 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
”
就是要升级pip:输入指令:‘python -m pip install --upgrade pip’
表示pip版本不适配,可以用以下代码查看,会告诉你当前版本和期望版本:pip show pip
执行python -m pip install --upgrade pip 超时,这是因为pip源在国外,所以连起来比较慢,可以改用国内的源
可以用:python -m pip install --upgrade pip -i https://pypi.douban.com/simple
原创文章,作者:端木书台,如若转载,请注明出处:https://blog.ytso.com/272959.html