0

How do I add python to path? Whenever I type 'python' in cmd, it opens Python in the Microsoft Store even though I have previously installed Python through their website. However, when I type 'py' in cmd, python starts.

Member2017
  • 431
  • 2
  • 8
  • 16
Saaheer Purav
  • 39
  • 3
  • 5
  • 2
    Does this answer your question? [Adding Python Path on Windows 7](https://stackoverflow.com/questions/6318156/adding-python-path-on-windows-7) – KJTHoward Feb 26 '20 at 09:42
  • "py" is copied to your windows path, and available without modification. See the link above for the instructions how to change your path. – Andi Schroff Feb 26 '20 at 09:53

1 Answers1

0

You can go to Control Panel ->System and Security->System -> Advanced System Settings

This opens a SystemPropertyDialogBox(Advanced) -> Environment Variables -> Add the Python Path in Path Environment variable

And then use another Command Prompt.

kvivek
  • 3,321
  • 1
  • 15
  • 17