title: Python is not recognized as the name of a cmdlet
body: <p>My python is not recognized as the name of a cmdlet, when I uninstall the old version (<code>3.9</code>) to the new version (<code>3.10</code>), i have tried to update my path in the environment variable, but it still goes to the previous python (3.9)</p>
  <p>here's my path :</p>
  <p><a href="https://i.stack.imgur.com/coptp.png" rel="nofollow noreferrer">Update Path</a></p>
  <p><a href="https://i.stack.imgur.com/nRPNk.png" rel="nofollow noreferrer">error occurred</a></p>
  <pre><code>PS D:\CodingFile&gt; &amp; C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/python.exe &quot;d:/CodingFile/Python/Latihan Kuliah/Struktur-Data/amir.py&quot;
  &amp; : The term 'C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/python.exe' is not recognized as the name of a cmdlet, function, 
  script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:3
  + &amp; C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/pytho ...
  +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:/Users/amirc/...ipts/python.exe:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  <p>the error occurs based on the information it is still on the old version path,can anyone help..</p>