![]() |
Unable to install packages of python3.6 in ubuntu server 16.04 - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Unable to install packages of python3.6 in ubuntu server 16.04 (/thread-18921.html) |
Unable to install packages of python3.6 in ubuntu server 16.04 - jenkins43 - Jun-06-2019 Hi, as I am working on ubuntu 16.04 and I was able to install python 3.6.8. But when I am trying to install numpy or pandas or scipy through command sudo pip3 install pandasthen mentioned below errors are occurring every time which I am not able to resolved. sudo pip3 install pandas pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pandas Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pandas/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pandas/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pandas/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pandas/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pandas/ Could not fetch URL https://pypi.org/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas 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.",)) - skippingBesides this the same package is easily getting installed on python2.7 which is the base version already available in the server Any kind of suggestion on this will be a great help. RE: Unable to install packages of python3.6 in ubuntu server 16.04 - metulburr - Jun-06-2019 (Jun-06-2019, 12:06 PM)jenkins43 Wrote: working on ubuntu 16.04 and I was able to install python 3.6.8.What was you method of installation? If you compiled it yourself, i would try recompiling. I had a similar issue back then that re-compiling seemed to fix it. (assuming you compiled it in the first place) https://python-forum.io/Thread-pip-unable-to-install-because-of-missing-ssl-module RE: Unable to install packages of python3.6 in ubuntu server 16.04 - heiner55 - Jun-06-2019 With Debian I do: apt-get install python3-pandas
|