title: Python pip install SSLError Windows
body: <p>I've seen this issue addressed before in other posts and it was recommended to used the trusted host prefix when installing a python package.  That has always worked for me but now, for whatever reason, no longer works.  This is the message I get when installing any Python package via Pypi.org. It really doesn't matter what package is involved I get the same error regardless.</p>
  
  <p>I have tried changing the condarc file to turn ssl_verify to false and that does not seem to help and I get the same message. Any ideas?</p>
  
  <p>I'm running the latest version of Python via Anaconda. </p>
  
  <p>Also the curl workaround doesn't appear to work as it simply times out</p>
  
  <blockquote>
    <p>(base) C:\Users\name>pip install --trusted-host pypi.python.org gpyopt
    Collecting gpyopt   Retrying (Retry(total=4, connect=None, read=None,
    redirect=None, status=None))  after connection broken by
    'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAIL ED] certificate
    verify failed (_ssl.c:777)'),)': /simple/gpyopt/   Retrying
    (Retry(total=3, connect=None, read=None, redirect=None, status=None)) 
    after connection broken by 'SSLError(SSLError(1, '[SSL:
    CERTIFICATE_VERIFY_FAIL ED] certificate verify failed
    (_ssl.c:777)'),)': /simple/gpyopt/   Retrying (Retry(total=2,
    connect=None, read=None, redirect=None, status=None))  after
    connection broken by 'SSLError(SSLError(1, '[SSL:
    CERTIFICATE_VERIFY_FAIL ED] certificate verify failed
    (_ssl.c:777)'),)': /simple/gpyopt/   Retrying (Retry(total=1,
    connect=None, read=None, redirect=None, status=None))  after
    connection broken by 'SSLError(SSLError(1, '[SSL:
    CERTIFICATE_VERIFY_FAIL ED] certificate verify failed
    (_ssl.c:777)'),)': /simple/gpyopt/   Retrying (Retry(total=0,
    connect=None, read=None, redirect=None, status=None))  after
    connection broken by 'SSLError(SSLError(1, '[SSL:
    CERTIFICATE_VERIFY_FAIL ED] certificate verify failed
    (_ssl.c:777)'),)': /simple/gpyopt/   Could not fetch URL
    <a href="https://pypi.python.org/simple/gpyopt/" rel="nofollow noreferrer">https://pypi.python.org/simple/gpyopt/</a>: There was a proble m
    confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',
    port=443) : Max retries exceeded with url: /simple/gpyopt/ (Caused by
    SSLError(SSLError(1,  '[SSL: CERTIFICATE_VERIFY_FAILED] certificate
    verify failed (_ssl.c:777)'),)) -  skipping   Could not find a version
    that satisfies the requirement gpyopt (from versions:  ) No matching
    distribution found for gpyopt</p>
  </blockquote>