New
#1
Windows doesn't seem to keep my system environment variables
Hi all,
As far as I can tell, my problem seems to be quite simple. The solution, however, may not be quite as simple.
The application I am trying to make work is python 3. I also have python 2 installed, but that works fine.
The problem is at the command prompt I would like to be able to typeand have it launch the python 3 shell. Currently, all I get isCode:python3If I typeCode:'python3' is not recognized as an internal or external command, operable program or batch file.it already launches python 2 (which is correct).Code:C:\Users\Jazzvibes>python Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
I have already tried to put python3 as a system and user environment variable, in AFAIK the same way as python is set up. I changed this at the system properties window and then going to environment variables on the "Advanced" tab.
if I typeat the command prompt, I believe it should confirm this (please correct me if i'm mistaken)Code:set
So, have I done something wrong, or left a step out? Please let me know if you need more info.Code:python=C:\Python26\python.exe python3=C:\Python31\python.exe
I should point out that typing a hard link to python3 using the address above does work, but I would like the shortcut for convenience (and to work out why it doesn't work in the first place)
My system for the record is Win7 64bit. Although both python installations are 32 bit versions (although i'm fairly sure that is trivial)
Regards,
Jazzvibes
Last edited by jazzvibes; 25 Jul 2010 at 23:30. Reason: clarification