title: Pip install fails with “connection error" ssl problem
body: <p>I am kind of new to Python and I started learning about packages and I tried to install some packages and update pip but I always get this error:</p>
  
  <blockquote>
    <p>WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/</p>
    
    <p>WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/</p>
    
    <p>WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/</p>
    
    <p>WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/</p>
    
    <p>WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))': /simple/pip/</p>
    
    <p>Could not fetch URL <a href="https://pypi.org/simple/pip/" rel="noreferrer">https://pypi.org/simple/pip/</a>: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))</p>
  </blockquote>
  
  <p>I tried to look online for a solution but anything I have tried by now has failed</p>
  
  <p><strong>Edit</strong>: solved it! </p>
  
  <p>I have solved the problem and it was associated with my antivirus blocking pip. I have solved it by deleting my antivirus and everything works. Keep in mind that when I disable my antivirus and firewall, it didn't work and only worked when I deleted the antivirus completely. </p>
  
  <p>I hope that if you have the same problem that will help you  </p>