Adding Python Path on Windows 7


I've been trying to add the Python path to the command line on Windows 7, yet no matter the method I try, nothing seems to work. I've used the set command, I've tried adding it through the Edit Environment variables prompt etc.

Further more if I run the set command on the command line it lists this

python = c:\python27

Yet it still doesn't recognize the Python command.

Reading the documentation, and various other sources hasn't seemed to help.

Edit: Just to clarify further, I've appended the path of the Python executable to PATH in edit environment prompt. Doesn't seem to work.

3/22/2016 9:51:34 AM

  1. Hold Win and press Pause.
  2. Click Advanced System Settings.
  3. Click Environment Variables.
  4. Append ;C:\python27 to the Path variable.
  5. Restart Command Prompt.
8/20/2013 9:42:52 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow