pip安裝問題:There was a problem confirming ssl certificate


pip install 安裝第三方插件是出現Could not fetch URL https://pypi.python.org/simple/pool/: There was a problem confirming ssl certificate問題

解決辦法如下:
在python安裝目錄下創建pip.ini,pip.ini配置內容如下:

[global]

index-url=http://mirrors.aliyun.com/pypi/simple/

[install]

trusted-host=mirrors.aliyun.com

環境變量已經配置了python路徑在path中,故此處不需再配置path,再用pip下載第三方插件即可

 


免責聲明!

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



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