Ssl error when install pip with pyton3.8

Hedllo,

I just install compile python3.8 (last version) and pip3.8

when I try to install requests using pip I get the follow output

pip3.8 install requests_toolbelt

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)) - skipping

Could your help me please to fix this issus

Thanks for your support

Best regards

Battant

Some modules in CPython are “optional” and only linked when their dependencies are satifsied at compile time. For ssl you need to install OpenSSL (and recompile CPython). IIRC there is an open ticket to improve pip’s error message on this, but I can’t find it at the moment. Feel free to open a new one on the issue tracker if you can’t find a corresponding ticket on it either.