0

I am trying to run the pip command and install a dependency on mac os but I am just getting an error message that looks like this

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 added a picture below to best understand. Can anyone help me figure this out?

I also tried reinstalling python and that didnt work either - I just keep getting the same message

I also tried pip3 and I get the same error

3 Answers3

0

You can try using python -m ensurepip

If that doesn't work, try installing openSSL, and only if that still doesn't work, do ./configure -–with-openssl=/home/username/openssl and then python3 -m ssl.

GravoLan
  • 1
  • 3
-2

try this pip3 install ddtrace

MacOS is different according to windows. MacOS uses pip

-3

on Mac you have to use pip3

pip is for Windows

Florian
  • 1
  • 1