[Python] Could not install packages due to an EnvironmentError: Could not find a suitable TLS...

Discussão em 'Python' iniciado por Stack, Março 19, 2025.

  1. Stack

    Stack Membro Participativo

    I get this error:


    Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/yosra/Desktop/CERT.RSA
    ​

    When I run: $ virtualenv venv

    So I put a random CERT.RSA on the Desktop which worked and I created my virtual environment, but then when I run: pip install -r requirements.txt

    I got this one:


    Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /KristianOellegaard/django-hvad/archive/2.0.0-beta.tar.gz (Caused by SSLError(SSLError(0, 'unknown error (_ssl.c:3715)'),))
    ​

    I feel that these 2 errors are linked to each other, but I want to know how can I fix the first one?

    Continue reading...

Compartilhe esta Página