python3 pip安装第三方库失败,WARNING: You are using pip version 20.2.3; however, version 21.1.2 is available.
在安装包时报错:WARNING: You are using pip version 21.1.2; however, version 21.3.1 is available.You should consider upgrading via the '/home/yj/桌面/LoveDA-master/Semantic_Segmentation/venv/bin/python -m pip in
·
在安装包时报错:
WARNING: You are using pip version 21.1.2; however, version 21.3.1 is available.
You should consider upgrading via the '/home/yj/桌面/LoveDA-master/Semantic_Segmentation/venv/bin/python -m pip install --upgradeip' command.
原因是因为pip版本过低导致,所以只需要升级pip即可。
我使用了pip install --upgrade pip
可以看到提示安装了新版本并卸载了旧版本,可以通过 pip show pip 命令来查看当前版本.
然后就可以正常安装第三方库了~
更多推荐
已为社区贡献1条内容
所有评论(0)