[Python] Poetry install failing with SSLError: Max retries exceeded on GitHub...

Discussão em 'Python' iniciado por Stack, Dezembro 13, 2024.

  1. Stack

    Stack Membro Participativo

    I am encountering an error when running the poetry install command in my Python project. The error message is as follows:

    HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: ... (Caused by SSLError(FileNotFoundError(2, 'No such file or directory')))


    I have tried the following troubleshooting steps, but none have resolved the issue:

    1. Verified my internet connection.
    2. Checked that I have the latest version of Poetry installed.
    3. Ensured my Git and OpenSSL installations are up-to-date.
    4. Confirmed that the repository URL is correct and accessible from a browser.

    Despite all this, the error persists. It seems related to SSL or Git configuration, but I am unsure how to resolve it.

    Environment Details:
    OS: 14.7.1 (23H222)
    Python version: 3.11.9]
    Poetry version: 1.8.5
    Git version: 2.45.2


    Has anyone encountered this issue before or can provide guidance on how to resolve it?

    Continue reading...

Compartilhe esta Página