Python-pip使用時提示“you are using pip version 19.2.3,however 20.1.1 is available”


在使用Python的pip進行安裝時,有警告

“you are using pip version 19.2.3,however 20.1.1 is available
You should consider upgrading via the 'python -m pip install --upgrade pip' command.”

您正在使用pip版本19.2.3,但是20.1.1是可用的,您應該考慮通過“python-m pip install--upgrade pip”命令進行升級。

根據提示進行升級時,報錯“Could not install packages due to an EnvironmentError,Consider using the `--user` option or check the permissions.

解決方法:官網下載對應20.1.1版本的pip到本地,進入到F:\ChromeCoreDownloads\pip-20.1.1目錄下進行安裝,python setup.py install

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM