CyberKeeda In Social Media
Showing posts with label PIP. Show all posts
Showing posts with label PIP. Show all posts

PIP SSL eeror while installing : SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)


If you too, have encountered SSL errors while installation/upgrading any python package from pip.
Here below is the workaround for it.


You might be flooded by this errors.
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579) 

Workaround.

Ignore SSL errors by setting pypi.org and files.pythonhosted.org as trusted hosts.
#  pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
Lets assume i want to install pika through pip 
#  pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pika
Read more ...
Designed By Jackuna