title: The term 'pip' is not recognized as a name of a cmdlet on windows 10 despite successful installation
body: <p>Here I check the installed version of pip
  <code>py -m pip --version</code></p>
  <pre><code>pip 21.0.1 from C:\Users\hp\AppData\Local\Programs\Python\Python39\lib\site-packages\pip (python 3.9)
  </code></pre>
  <p>Now I try to run a pip command</p>
  <p><code>pip install pip --target $HOME\\.pyenv </code></p>
  <pre><code>pip: The term 'pip' is not recognized as a name of a cmdlet, function, script file, or executable program.
  Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  </code></pre>