title: Pip install unbearably slow
body: <p>Since a few days whenever I run pip install it takes me more than 10 minutes before the package is installed. I already have a <code>pip.conf</code> with <code>extra-index-url=https://pypi.org/simple/</code>
  in it so I do not think pypi being slow is the issue and my network connection is fast.</p>
  
  <p>A test eample:</p>
  
  <pre><code>./test/bin/pip install pip --upgrade 
  </code></pre>
  
  <blockquote>
    <p>Collecting pip<br>
    Using cached <a href="https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl" rel="nofollow noreferrer">https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl</a><br>
    Installing collected packages: pip<br>
    Found existing installation: pip 9.0.1 
    Uninstalling pip-9.0.1: Successfully uninstalled pip-9.0.1<br>
    Successfully installed pip-20.0.2</p>
  </blockquote>
  
  <p>How could I fix this problem? I also get </p>
  
  <blockquote>
    <p>Cache deserialization failed, entry ignored</p>
  </blockquote>
  
  <p>every time, which wasn't the case before (that can be fixed with <code>--no-cache-dir</code> but I still do not understand what it means). I am running Ubuntu 18.04.</p>