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