About requests.exceptions.SSLError: HTTPSConnectionPool (host = 'XXX', port = 443) issues

In the run the code, would be an error

requests.exceptions.SSLError: HTTPSConnectionPool(host='XXX', port=443)

Solutions are as follows:

1, first check whether the installation has been dependent on requests of package:

pip install cryptography 

pip install pyOpenSSL

pip install certifi

2, if the dependent is already installed installation package, also given, followed by the request can verify = False

 

Transfer from https://www.cnblogs.com/SmileMay51/p/10282040.html

Guess you like

Origin www.cnblogs.com/dede0753/p/11888350.html