解决:使用pip命令安装第三方库时报错WARNING: You are using pip version 19.2.3, however version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

原因:pip版本过低导致安装第三方库失败。

解决办法:更新pip版本

方案一:执行命令easy_install -U pip

方案二:若方案一失败,则可采用国内源下载更新。执行命令:python -m pip install --upgrade pip -i https://pypi.douban.com/simple

原文地址:https://www.cnblogs.com/syywy/p/12984580.html