title: Pip not working - ModuleNotFoundError: No module named 'runpy'
body: <p>I have installed Python to <code>C:\Python</code>.</p>
  
  <p>I have added the following paths to PATH <a href="https://i.stack.imgur.com/LEo1K.png" rel="nofollow noreferrer">environment variables</a>:</p>
  
  <ul>
  <li><code>C:\Python</code></li>
  <li><code>C:\Python\Lib\site-packages</code></li>
  <li><code>C:\Python\Scripts</code></li>
  </ul>
  
  <p>I have installed <code>get-pip.py</code> to desktop successfully, returns the following:</p>
  
  <pre><code>Collecting pip   Using cached
  https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl
  Collecting setuptools   Using cached
  https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl
  Collecting wheel   Using cached
  https://files.pythonhosted.org/packages/81/30/e935244ca6165187ae8be876b6316ae201b71485538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl
  Installing collected packages: pip, setuptools, wheel Successfully
  installed pip-10.0.1 setuptools-40.0.0 wheel-0.31.1
  </code></pre>
  
  <p>When trying to install libraries with <code>C:\Users\XXXX\Desktop&gt;pip install gevent</code>, it returns the following:</p>
  
  <pre><code>Could not import runpy module
  ModuleNotFoundError: No module named 'runpy'
  </code></pre>
  
  <p>Running this also returns the same error <code>C:\Users\XXXX\Desktop&gt;pip</code>:</p>
  
  <pre><code>Could not import runpy module
  ModuleNotFoundError: No module named 'runpy'
  </code></pre>
  
  <p>I have searched endlessly for this error and none of them have helped me. I have tried searching for the runpy module but could not find it nor its location.</p>
  
  <p>Hope someone can help</p>