0

This is what I typed after using pip uninstall matplotlib:

pip install matplotlib

But this is the output:

Could not find a version that satisfies the requirement matplotlib (from versions: )
No matching distribution found for matplotlib

I am running this on a Mac and I am new to Python. Any help would be appreciated!

1arnav1
  • 117
  • 1
  • 3
  • 8

1 Answers1

1

This probably because of your TLS version. starting yesterday you can't use a TLS version below 1.2, you might need to upgrade your python version.

From python status page:

The rolling brownouts have been upgraded to a blackout, TLSv1.0 and >TLSv1.1 will be rejected with a HTTP 403 at all times.

Posted about 17 hours ago. Apr 08, 2018 - 15:49 UTC

you can check your TLS version by running this code:

import json
import urllib2
print json.load(urllib2.urlopen('https://www.howsmyssl.com/a/check'))['tls_version']
Community
  • 1
  • 1
Gibel
  • 21
  • 4