clonly / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

dual installation of python 2.6 and 2.7 #604

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is it possible to have pythonxy installed for both python2.6 and python2.7 on 
my windows 7 (64bit) machine.

If yes, how can I achieve this dual installation?

Thank you.

Original issue reported on code.google.com by Liam.F.E...@gmail.com on 14 Feb 2013 at 2:10

GoogleCodeExporter commented 9 years ago
That would be extremely difficult. Why would you want that?

Original comment by grizzly.nyo on 15 Feb 2013 at 10:52

GoogleCodeExporter commented 9 years ago
I use pythonxy 2.7.3 all the time, for a whole load of projects - so I can't 
give up on that.

However, for some projects, I have to interface with some stats software (IBM 
SPSS v19)and the python interfaces for that version are only compatible with 
python 2.6.

Ideally, I wanted to replicate the same python environment 
(numpy+scipy+scikit-learn + loads of others) for both 2.6 and 2.7...

I tried just installing python 2.6 (not xy), but that caused problems with 
pythonxy2.7.3 (could no longer launch from icon) so I uninstalled 2.6 - I 
assume an issue with the system/python path but I did not explore too deeply.

Any ideas how I might do this?

Original comment by Liam.F.E...@gmail.com on 15 Feb 2013 at 12:01

GoogleCodeExporter commented 9 years ago
You can try to install python 2.6 first and then xy. Scripts requiring 2.6 
should  explicitly call the python 2.6 binary.

I also suggest looking at VirtualEnv if you hadn't already.

Original comment by grizzly.nyo on 15 Feb 2013 at 4:56

GoogleCodeExporter commented 9 years ago
Yes, I will try 2.6 first, then xy - that's what I was going to try next.

I will post here again if it does/doesn't work.

Thanks for the virtualEnv tip. Looks like it might be v. helpful.

Thanks for you help.

Original comment by Liam.F.E...@gmail.com on 15 Feb 2013 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 16 Feb 2013 at 4:13

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 25 Feb 2013 at 3:57