Skip to content

Instantly share code, notes, and snippets.

@isaaguilar
Last active February 12, 2019 18:17
Show Gist options
  • Save isaaguilar/37b89e1c98c1db1bb0a7d66b25e9ab1d to your computer and use it in GitHub Desktop.
Save isaaguilar/37b89e1c98c1db1bb0a7d66b25e9ab1d to your computer and use it in GitHub Desktop.

Run curl update when pip errors out with SSL alert

error

Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping

fix

curl https://bootstrap.pypa.io/get-pip.py | python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment