Python Forum
Installed Python3.7 from package, trying to run pip3.7 does not work
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installed Python3.7 from package, trying to run pip3.7 does not work
#1
Hi all.

I am working on an ubuntu 16.04 VM and have installed python3.7 from a package. I now have the following outputs when checking versions:

$ python --version
Python 2.7.12
$ python3 --version
Python 3.5.2
$ python3.7 --version
Python 3.7.4

Now I am trying to install packages using 'pip' - specifically the 'slackclient' package. I have successfully installed it using pip and pip3, but these packages doesn't correspond with python3.7, so trying pip3.7 gives me the following error:

$ pip3.7 install --user slackclient
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting slackclient
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/slackclient/
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/slackclient/
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/slackclient/
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/slackclient/
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/slackclient/
Could not fetch URL https://pypi.org/simple/slackclient/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/slackclient/ (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 slackclient (from versions: )
No matching distribution found for slackclient
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

I even tried running:

$ python3.7 -m pip install --user slackclient

to the save effect. What might be causing this and how do I resolve it?
Reply


Messages In This Thread
Installed Python3.7 from package, trying to run pip3.7 does not work - by JBristow1729 - Jul-31-2019, 10:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  when package built, requirements not installed sabuzaki 1 704 Apr-07-2023, 09:01 AM
Last Post: sabuzaki
  ModuleNotFoundError: No module named '_struct' when starting pip3 yuhuihu 0 2,812 May-05-2022, 04:41 AM
Last Post: yuhuihu
  cmake and pip3 install warnings with python 3.10.2 cyrduf 0 1,842 Feb-26-2022, 01:08 PM
Last Post: cyrduf
  what to do if moudle not in pip3 only in pip2? korenron 22 5,624 Oct-25-2021, 02:35 PM
Last Post: snippsat
  pip3 v21.1.2 SSL Error on RHEL 7 malibu 0 3,069 Jun-01-2021, 03:17 PM
Last Post: malibu
  pip3 install opencv-python fails on 'skbuild' Pedroski55 2 5,623 Sep-15-2020, 11:33 AM
Last Post: snippsat
  pip list to show all versions of a package installed pvbadiger05b 4 2,431 May-21-2020, 06:48 PM
Last Post: jameshonest
  Package installed through Anaconda "not found" by Python zonova 0 2,256 May-08-2020, 11:50 PM
Last Post: zonova
  Install module with pip3 on a non root user matthewpintor2107 1 2,350 Apr-28-2020, 03:16 PM
Last Post: pyzyx3qwerty
  import scalalib package doesn't work manu_brighter 2 2,840 Apr-17-2020, 06:36 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020