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\
This question is pretty old, but I just ran into a similar problem and my particular solution wasn't listed here:
Make sure you don't have a folder in your PATH that doesn't exist.
In my case, I had a bunch of default folders (Windows, Powershell, Sql Server, etc) and then a custom C:\bin
that I typically use, and then various other tweaks like c:\python17
, etc. It turns out that the cmd processor was finding that c:\bin
didn't exist and then stopped processing the rest of the variable.
Also, I don't know that I ever would have noticed this without PATH manager. It nicely highlighted the fact that that item was invalid.