title: pip: Caused by ResponseError('too many 500 error responses')
body: <p>I'm trying install packages through pip, but every package I try to install, it fails with</p>
  <pre><code>ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
  ERROR: No matching distribution found for numpy
  </code></pre>
  <p>When running the same command with <code>-vvv</code> like <code>pip install numpy -vvv</code> it gives the following output.</p>
  <pre><code>Using pip 20.2.1 from c:\program files\python38\lib\site-packages\pip (python 3.8)
  Defaulting to user installation because normal site-packages is not writeable
  Created temporary directory: C:\Users\d\AppData\Local\Temp\pip-ephem-wheel-cache-bo4luxtk
  Created temporary directory: C:\Users\d\AppData\Local\Temp\pip-req-tracker-8z32xx1a
  Initialized build tracking at C:\Users\d\AppData\Local\Temp\pip-req-tracker-8z32xx1a
  Created build tracker: C:\Users\d\AppData\Local\Temp\pip-req-tracker-8z32xx1a
  Entered build tracker: C:\Users\d\AppData\Local\Temp\pip-req-tracker-8z32xx1a
  Created temporary directory: C:\Users\d\AppData\Local\Temp\pip-install-2se6s0ld
  1 location(s) to search for versions of numpy:
  * https://pypi.org/simple/numpy/
  Fetching project page and analyzing links: https://pypi.org/simple/numpy/
  Getting page https://pypi.org/simple/numpy/
  Found index url https://pypi.org/simple
  Looking up &quot;https://pypi.org/simple/numpy/&quot; in the cache
  Request header has &quot;max_age&quot; as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Incremented Retry for (url='/simple/numpy/'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
  Retry: /simple/numpy/
  Resetting dropped connection: pypi.org
  Starting new HTTPS connection (2): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Incremented Retry for (url='/simple/numpy/'): Retry(total=3, connect=None, read=None, redirect=None, status=None)
  Retry: /simple/numpy/
  Resetting dropped connection: pypi.org
  Starting new HTTPS connection (3): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Incremented Retry for (url='/simple/numpy/'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
  Retry: /simple/numpy/
  Resetting dropped connection: pypi.org
  Starting new HTTPS connection (4): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Incremented Retry for (url='/simple/numpy/'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
  Retry: /simple/numpy/
  Resetting dropped connection: pypi.org
  Starting new HTTPS connection (5): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Incremented Retry for (url='/simple/numpy/'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
  Retry: /simple/numpy/
  Resetting dropped connection: pypi.org
  Starting new HTTPS connection (6): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/numpy/ HTTP/1.1&quot; 500 655
  Could not fetch URL https://pypi.org/simple/numpy/: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by ResponseError('too many 500 error responses')) - skipping
  Given no hashes to check 0 links for project 'numpy': discarding no candidates
  ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
  ERROR: No matching distribution found for numpy
  Exception information:
  Traceback (most recent call last):
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\cli\base_command.py&quot;, line 216, in _main
      status = self.run(options, args)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\cli\req_command.py&quot;, line 182, in wrapper
      return func(self, options, args)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\commands\install.py&quot;, line 324, in run
      requirement_set = resolver.resolve(
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py&quot;, line 183, in resolve
      discovered_reqs.extend(self._resolve_one(requirement_set, req))
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py&quot;, line 388, in _resolve_one
      abstract_dist = self._get_abstract_dist_for(req_to_install)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py&quot;, line 339, in _get_abstract_dist_for
      self._populate_link(req)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py&quot;, line 305, in _populate_link
      req.link = self._find_requirement_link(req)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py&quot;, line 270, in _find_requirement_link
      best_candidate = self.finder.find_requirement(req, upgrade)
    File &quot;c:\program files\python38\lib\site-packages\pip\_internal\index\package_finder.py&quot;, line 926, in find_requirement
      raise DistributionNotFound(
  pip._internal.exceptions.DistributionNotFound: No matching distribution found for numpy
  1 location(s) to search for versions of pip:
  * https://pypi.org/simple/pip/
  Fetching project page and analyzing links: https://pypi.org/simple/pip/
  Getting page https://pypi.org/simple/pip/
  Found index url https://pypi.org/simple
  Looking up &quot;https://pypi.org/simple/pip/&quot; in the cache
  Request header has &quot;max_age&quot; as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 &quot;GET /simple/pip/ HTTP/1.1&quot; 500 655
  Could not fetch URL https://pypi.org/simple/pip/: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by ResponseError('too many 500 error responses')) - skipping
  Given no hashes to check 0 links for project 'pip': discarding no candidates
  Removed build tracker: 'C:\\Users\\d\\AppData\\Local\\Temp\\pip-req-tracker-8z32xx1a'
  </code></pre>
  <p>My pip.ini file looks like</p>
  <pre><code>[global]
  trusted-host = pypi.python.org
                 pypi.org
                 files.pythonhosted.org
  </code></pre>
  <p>How can the 'too many 500 error responses' mentioned in the error be fixed?</p>
  <p>Edit:</p>
  <p>Reinstalling Python has not fixed the issue and I am using Python 3.8.6. I've also tried restarting my computer.</p>