How to solve the Pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)” ?

How to solve the Pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)” ?

Asked on November 13, 2018 in Python.
Add Comment


  • 3 Answer(s)

       Use this –trusted-host method:

    pip install --trusted-host pypi.python.org linkchecker
    

      The pem file is unnecessary.

    Answered on November 13, 2018.
    Add Comment

    Try this code:

    pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org oauthlib -vvv
    
    
    Answered on November 13, 2018.
    Add Comment

    Try to install pip 1.2.1 with easy_install and upgraded to new version of pip (6.0.7 at the time) which is able to install the  packages :

    easy_install pip==1.2.1
    
    pip install --upgrade pip
    
    
    Answered on November 13, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.