Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: anaconda code example

Example 1: pip install bs4 pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org

pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org bs4

Example 2: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):

$ pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pip setuptools

Tags:

Misc Example