Posted on March 10, 2010 - by dirtymitten
Commanding the wrong Python
Hey, I never use this blog anymore, so why not try to get some hits? I’ll post trials and tribulations of beginning my foray into Python, at lease, until I get bored of doing that.
Here’s my issue:
I have Python installed on my Windows XP dev machine, and also in a Cygwin build. When I open the command prompt, and type python, I get the wrong version of python, 2.5.4, instead of the newly installed 2.6.4, which I desire.
How can I take back control, and better still switch between, the python versions?
I bet it has something to do with the Path environment variable, but I already added C:/python26 to the Path, and it’s not doing what I want it to do.
Let’s see what I can dig up….
This entry was posted on Wednesday, March 10th, 2010 at 3:02 pm and is filed under Snoop Bloggy-Blogg. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

Visit My Website
March 10, 2010
Permalink
check the path and classpath
just remove the path of Cygwin from the path and classpath
To view or change environment variables:
Right-click My Computer, and then click Properties.
Click the Advanced tab.
Click Environment variables.
Click one the following options, for either a user or a system variable:
Click New to add a new variable name and value.
Click an existing variable, and then click Edit to change its name or value.
Click an existing variable, and then click Delete to remove it.