[Python] brew installation of Python 3.6.1: [SSL: CERTIFICATE_VERIFY_FAILED] certificate...

Discussão em 'Python' iniciado por Stack, Fevereiro 4, 2025.

  1. Stack

    Stack Membro Participativo

    I installed python 3.6 using

    brew install python3

    and tried to download a file with six.moves.urllib.request.urlretrieve from an https, but it throws the error


    ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
    ​

    In the Python installation (from .pkg), the README indicates that one needs to run the Install Certificates.command after the installation to

    1. install certifi
    2. symlink the certification path to certify path

    to be able to use certificates.

    However, in brew install, this file does not exist and it does not seem to be run.

    Continue reading...

Compartilhe esta Página