pip is configured with locations that require TLS/SSL, however the ssl module in Python is not 解決方法


pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available 解決方法

問題

今天在安裝 Pygame 的時候,發現照着之前自己寫的教程出現了問題。

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

解決方法

其實還是 Anaconda 環境變量的問題。

Win + R ,輸入:SystemPropertiesAdvanced.exe ,回車。

然后點擊 環境變量

進入 系統變量 ,找到 PATH ,點擊編輯:

只需把這三個加上就行。

C:\ProgramData\Anaconda3
C:\ProgramData\Anaconda3\Scripts
C:\ProgramData\Anaconda3\Library\bin

致謝

windows pip is configured with locations that require TLS/SSL, however the ssl module in Python


免責聲明!

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



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