Python pip suddenly stopped working and it gives SSL: CERTIFICATE_VERIFY_FAILED error.
I am not able to install any of the pip packages.
sudo pip install scikit-image is throwing following error
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),)': /simple/scikit-image/
Could not fetch URL https://pypi.python.org/simple/scikit-image/: There was a problem confirming the ssl certificate:
HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/scikit-image/ (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),)) - skipping
I tried using easy_install
but it is giving the same SSL error.
When I tried downloading a zip file of 5GB using wget , the downloaded file size is in KBs
Can someone please suggest the solution for above problem.
Thank You