原文:python https 無法訪問 SSLError("Can\'t connect to HTTPS URL because the SSL module is not available

,需要檢查python 安裝的時候是否支持 https 進入python 環境,import ssl 如果正常導入就可以使用https,不能導入就需要進入下一步。 ,查看系統是否安裝了openssl rpm aq grep openssl 必須所有版本必須對應上 如果沒有需要安裝: yum install openssl devel openssl ,如果系統安裝好了openssl ,再安裝py ...

2022-03-01 17:34 0 6702 推薦指數:

查看詳情

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