[Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

Wolfgang Maier wolfgang.maier at biologie.uni-freiburg.de
Fri Oct 10 09:05:35 CEST 2014


On 10/10/2014 05:57 AM, boB Stepp wrote:
> I am hoping to save other people the grief I just worked through. I
> wanted to run both Python 2 and 3 on my windows PC, and, after
> googling this topic found that with Python 3.3 or later one could
> easily do both. So I merrily installed Python 3.4.2 first and then
> Python 2.7.8. A Python 3 program that had been working fine suddenly
> stopped working. After working down to a test portion of code that
> isolated the culprit I realized my Python 3 program was being
> interpreted by Python 2.

It would help if you could share details about how you tried to run the 
Python 3 program (command line call, double-click, Python launcher for 
Windows, ..).

> I soon found that installing Python 2 first
> and then 3 enabled both to happily coexist. If there was a mention
> about the order of installation anywhere during my searches, I missed
> it. Anyway, I hope that my experience helps some other newbie who
> wants to play around with both major versions.
>


More information about the Tutor mailing list