python 出現InsecurePlatformWarning: A true SSLContext object is not available錯誤

這個如果代碼沒有問題的話,問題一般是因爲你的requests的版本原因。


解決方法:



pip install pyOpenSSL ndg-httpsclient pyasn1


安裝以上的庫就可以了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章