RustyJuggler
RustyJuggler

Reputation: 45

Python 2.x and 3.x together on Windows

I am trying to run Python2.7 and Python3.2 on the same windows machine. I have seen several questions on this before like the one linked below.

Is it possible to install python 3 and 2.6 on same PC?

I do not have problems installing the two different versions, but when I try to run a python program I have to specify that I want to run in Python2.7 and then it will run fine. But if I try to specify to run it in Python3.2 it does not run.

When I look at my PYTHONPATH it only contains Python2.7 so I guess it is searching for imports in Python2.7 and there it is getting problems. So would I have to manually change the PYTHONPATH and replace Python27 with Python32?

Upvotes: 2

Views: 1509

Answers (1)

Amber
Amber

Reputation: 526573

So would I have to manually change the PYTHONPATH and replace Python27 with Python32?

Yes.

Upvotes: 2

Related Questions