pip install requests==2.19.1 pip install certifi==2018.8.13
pip install incremental
先把上面三個一裝,單純的第三方庫的版本問題,更新下ssl包之類的
_ssl.c:1091和_ssl.c:749的問題就能解決了
在運行的過程中還發現了點問題
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning)
有這個提示雖然不報錯,但是怎么可以讓程序出現報紅呢,不爽我們就干掉它
提示讓我們see,那我們就去see one see
import urllib3 urllib3.disable_warnings()
不猶豫直接抄
直接搞定
nice~