[wxPython-users] Re: How to install wxPython on Ubuntu Feisty for python2.5?

Robin Dunn robin at alldunn.com
Mon May 14 18:48:31 PDT 2007


Bob Robison wrote:
> On Mon, 14 May 2007 00:15:03 +0200
> "Frank Niessink" <frank at niessink.com> wrote:
> 
>> Hi all,
>>
>> I upgraded to Ubuntu Feisty, but wxPython is installed in the
>> python2.4 folder. What are the magic arguments to get apt-get to
>> install wxPython for python2.5?
> 
> # wxPython APT repository at wxcommunity.com
> deb http://wxpython.wxcommunity.com/apt/ubuntu/feisty /
> deb-src http://wxpython.wxcommunity.com/apt/ubuntu/feisty /
> 
> Frank,
> 
>   I found that after I added the above lines to /etc/apt/sources.list to
> point directly to the wxcommunity repository, then I was able to get
> the python2.5 versions --- at least I'm pretty sure that is what I did,
> it has been a few weeks, so I can't be sure ;-)

If you did a dist-upgrade from Edgy to Feisty then you'll probably have 
to do a force reinstall of the wxpython packages.  This is because I 
haven't yet done the work to make the packages be dependent on the 
versioned Python packages, they just assume that the default Python on 
the box is correct, and because of this the dist-upgrade thinks that it 
doesn't need to update the wxPython packages.  If you do a force 
reinstall ("sudo aptitude reinstall <package names>" works well) after 
making the sources.list change above then you'll get the right stuff 
moved to the python2.5 dirs.

BTW, I'm also making 64-bit Ubuntu packages for 2.8.4.0.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list