解决Caused by SSLError(“Can‘t connect to HTTPS URL because the SSL module is not available.“)

python使用requests包获取请求报错

requests.exceptions.SSLError: HTTPSConnectionPool(host=‘movie.douban.com’, port=443): Max retries exceeded with url: /j/new_search_subjects?start=0 (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))

解决的方法就是去https://slproweb.com/products/Win32OpenSSL.html下载安装:
解决Caused by SSLError(“Can‘t connect to HTTPS URL because the SSL module is not available.“)_第1张图片

你可能感兴趣的:(https,ssl,python)