title: How Can I Resolve This PIP Installation Error on Windows?
body: <p>I am trying to install <code>pip</code> on my Windows 10 machine. I downloaded it using the following command in the command line <code>curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py</code>. After that, I run the following command to install <code>pip</code> <code>python get-pip.py</code>. Then, I get the following error message printed in my command prompt:</p>
  <pre><code>WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
  WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
  Collecting pip
    Using cached pip-22.0.3-py3-none-any.whl (2.1 MB)
  Collecting wheel
    Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
  WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
  Installing collected packages: wheel, pip
    WARNING: Failed to write executable - trying to use .deleteme logic
  ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python310\\Scripts\\wheel.exe' -&gt; 'C:\\Python310\\Scripts\\wheel.exe.deleteme'
  
  WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
  WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
  </code></pre>
  <p>I tried to manually download pip at this URL <code>https://bootstrap.pypa.io/get-pip.py</code>. But instead of a zip folder, I get a web page of binary data. Please, how can I resolve this error?</p>