Linux Debian support - How do i make Python2.5 the default i Etch?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > December 2007 > How do i make Python2.5 the default i Etch?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do i make Python2.5 the default i Etch?
Eric Holbrook

2007-12-29, 1:14 pm

I've got both Python2.4 and Python2.5 installed in Etch, along with a
*lot* of Python extras. How do i make v2.5 the default (even if i have to
get rid of v2.4) in such a way that all of the extras (PyQt, Plone,
matplotlib, etc, etc) work correctly with Python2.5?

t.i.a.,
Eric
Dave Uhring

2007-12-29, 1:14 pm

On Sat, 29 Dec 2007 15:37:16 +0000, Eric Holbrook wrote:

> I've got both Python2.4 and Python2.5 installed in Etch, along with a
> *lot* of Python extras. How do i make v2.5 the default


Change the symlink in /usr/bin.
Eric Holbrook

2007-12-29, 1:14 pm

On Sat, 29 Dec 2007 16:19:38 +0000, Dave Uhring wrote:

> On Sat, 29 Dec 2007 15:37:16 +0000, Eric Holbrook wrote:
>
>
> Change the symlink in /usr/bin.


That doesn't work. Yes, it get's me python2.5 as the default, but it barfs
on imports of PyQt, pylab, etc, because that stuff's not in
/usr/lib/python2.5/site-packages/. I'm guessing that if i do:

1) remove every Python thing i have
2) then reinstall v2.5
3) then reinstall PyQt, pylab, etc

,then perhaps all will be well, but i'd rather not go that route if
there's an easier, or perhaps more Debian-esque, way to do this. Any other
ideas?

/Eric
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com