I have Python 2.6 installed on Windows Vista. If I am at C:\Python26>
and I type python
, Python's command-line interface starts, as desired.
I have added C:\Python26
to my PATH
so that I would be able to run Python scripts from any directory, but it hasn't helped. In particular, from any other directory, the command python
is not recognized.
I appreciate any guesses as to what change would get this working.
Edit: First, I have re-opened my cmd window (several times) so that is not the issue.
To clarify how I added C:\Python26
to the PATH
, I clicked the following:
Computer -> System Properties -> Advanced system settings -> Environment Variables
at the point I select PATH
and click Edit. I added C:\Python26
to the Variable Value field, separating this from the previous entries with a semicolon. Then I click OK a few times.
Edit #2 I've now checked my PATH
by typing path
at the command prompt. C:\Python26
is certainly in the path. I'll reboot anyway, and see if that helps.