Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have python 3.3 and 2.7 installed on my computer. Lately I decided to run python 2.7 more form Run, when previously python 3.3 was used. ("python" auto-completes in Run)

In order to do it, I changed the PATH system variable to C:\python27 from C:\python33.

When I run from CMD itself, python 2.7 opens. However, when I try to do it from Run, it doesn't work at all.

Any help? I am far more curios about the "why" rather then want a solution.

Notes: * I tried looking at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU, thinking about some sort of cache, but the paths there are of python27. * My user PATH variable is not relevant, I checked. * I tried removing python 2.7's path completely, however when I try running python, 3.3 opens.

share|improve this question
    
What happens if you log out and log back in? –  Nicole Hamilton Feb 26 '13 at 20:23
    
Still the same. Python 3.3 runs. –  Tapuzi Feb 26 '13 at 20:30
    

1 Answer 1

up vote 1 down vote accepted

Make sure you only have one python directory in your path varible. alternately, you can check HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths to see if you have a key for your python interpreter, and if not create a key indicating your executable. some more info here: http://commandwindows.com/runline.htm

share|improve this answer
    
That fixed it! thank you. Pretty cool. –  Tapuzi Mar 1 '13 at 10:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.