There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)-skipping

The root cause of this problem first is that the requested target website no longer supports TLS versions 1.0 and 1.1.

  1. Pip install appear in the library when the solution: upgrade pip, command: curl https://bootstrap.pypa.io/get-pip.py | python. Note that because of the issue of the certificate authentication protocol version, it cannot be upgraded through the pip upgrade command. (The Python.org website has stopped supporting TLS versions 1.0 and 1.1)
  2. It occurs when an HTTPS request requests the library site, the solution: upgrade pyopenssl library, command: pip install -U pyopenssl.
  3. When creating a virtual environment, the pip version is still old, the solution:sudo pip install --upgrade pip virtualenv virtualenvwrapper

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *