I recently installed Python 3.7 on my Raspberry Pi 3. However, I don't know what happened during installation, but there were no packages that were added to pip.
I tried to recompile Python from source, including adding parameters like -enable-optimizations
and -altinstall
but no luck. I have not tried to uninstall Python 3.x because I think it's a bit confusing since it was installed from source, and there may programs dependent on Python 3.x as well.
Here's the output of pip3 list
:
$ pip3 list
Package Version
---------- -------
pip 19.0.3
setuptools 40.8.0
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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
Quick note, I have libssl-dev
already installed.