pip安裝三方庫不成功模捂,提示:You are using pip version 19.0.3, however version 21.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
原因:pip版本過低導(dǎo)致安裝第三方庫失敗
解決方案:更新pip版本
1勋拟、cmd打開命令窗口
2法梯、輸入命令:easy_install -U pip(如下圖)
3苔货、檢查一下新版本是否安裝成功,輸入命令:pip list