Python3安装第三方库失败,提示:WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.

一、问题

基于Python3安装第三库时失败,并提示WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.。如下图所示:


二、解决

原因是因为pip有最新的版本,可以通过如下命令查看pip的版本:

pip show pip

Python3安装第三方库失败,提示:WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available._第1张图片对此,我们只需要更新一下pip版本即可。使用如下命令:

python -m pip install -U pip

Python3安装第三方库失败,提示:WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available._第2张图片

你可能感兴趣的:(pycharm,python,ide)