pip升级安装 You are using pip version xxx, however version xxx is available.

本人使用Visual Studio 2019写python时,在下载其他库的时候遇到了因为pip版本不同而无法安装的情况。提示如下:WARNING: You are using pip version xxx, however version xxx is available.
使用常见的方法也无法安装

python -m pip install --upgrade pip

后来我发现了一种快捷安装库的方法。在资源管理器这里右键点击python环境

pip升级安装 You are using pip version xxx, however version xxx is available._第1张图片
![Alt]pip升级安装 You are using pip version xxx, however version xxx is available._第2张图片
选择查看所有环境

pip升级安装 You are using pip version xxx, however version xxx is available._第3张图片
输入pip或其他库名,便可完成快捷下载安装

你可能感兴趣的:(pip升级安装 You are using pip version xxx, however version xxx is available.)