How to install wxPython on Ubuntu Feisty for python2.5?

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?

$ sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version.
python-wxtools is already the newest version.
wx2.8-i18n is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ ls /usr/lib/python2.4/site-packages/wx*
/usr/lib/python2.4/site-packages/wx.pth
/usr/lib/python2.4/site-packages/wxversion.py
/usr/lib/python2.4/site-packages/wxversion.pyc
/usr/lib/python2.4/site-packages/wxversion.pyo

/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode:
wx wxPython

/usr/lib/python2.4/site-packages/wxaddons:
__init__.py setup.py sized_controls.py

$ ls /usr/lib/python2.5/site-packages/wx*
ls: /usr/lib/python2.5/site-packages/wx*: No such file or directory

Thanks, Frank

Hi Frank,

Which repositories are you using for wxPython? Do you use the debian repository of Robin? I think that is still related to Dapper/Edgy which are using python2.4 You can check your list with:
sudo gedit /etc/apt/sources.list

I use the standard ubuntu repositories (I think wxPython is in MOTU universe) and there by default they are for python2.5:
$ ls /usr/lib/python2.5/site-packages/wx*
/usr/lib/python2.5/site-packages/wxaddons-2.8.1.1.egg-info
/usr/lib/python2.5/site-packages/wx.pth
/usr/lib/python2.5/site-packages/wxPython_common-2.8.1.1.egg-info
/usr/lib/python2.5/site-packages/wxversion.py
/usr/lib/python2.5/site-packages/wxversion.pyc

So uninstalling wxPython, removing the wxPython repositories from your sources.list and reinstalling wxPython should do the trick. But if you want the latest, hottest wxPython for python2.5, you'll have to wait till Robin moves his bots to Feisty.

Stani

Frank Niessink 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?

$ sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version.
python-wxtools is already the newest version.
wx2.8-i18n is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ ls /usr/lib/python2.4/site-packages/wx*
/usr/lib/python2.4/site-packages/wx.pth
/usr/lib/python2.4/site-packages/wxversion.py
/usr/lib/python2.4/site-packages/wxversion.pyc
/usr/lib/python2.4/site-packages/wxversion.pyo

/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode:
wx wxPython

/usr/lib/python2.4/site-packages/wxaddons:
__init__.py setup.py sized_controls.py

$ ls /usr/lib/python2.5/site-packages/wx*
ls: /usr/lib/python2.5/site-packages/wx*: No such file or directory

Thanks, Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Bob Robison 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 /
deb-src /
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 ;-)
This info came from the 'Ubuntu' section of the wxpython download
pages.
good luck,
bob

Frank,

Check if your sources file doesn’t point to edgy or dapper instead of
Feisty. Sorry Robin, appearantly you moved already to Feisty.

Stani

···

frank@niessink.comhttp://wxpython.wxcommunity.com/apt/ubuntu/feistyhttp://wxpython.wxcommunity.com/apt/ubuntu/feisty

Not sure what else is going on... but I think the wxcommunity repository has been on feisty since late March:

$apt-cache showpkg python-wxgtk2.8
Package: python-wxgtk2.8
Versions:
2.8.3.0-0
(/var/lib/apt/lists/wxpython.wxcommunity.com_apt_ubuntu_feisty_Packages)
(/var/lib/dpkg/status) Description Language:
File: /var/lib/apt/lists/wxpython.wxcommunity.com_apt_ubuntu_feisty_Packages
MD5: fc4cb0d231bfc75d3ad48b0d3cb20c29

bob

···

On Mon, 14 May 2007 11:14:53 +0200 Stani's Python Editor <spe.stani.be@gmail.com> wrote:

So uninstalling wxPython, removing the wxPython repositories from
your sources.list and reinstalling wxPython should do the trick. But
if you want the latest, hottest wxPython for python2.5, you'll have
to wait till Robin moves his bots to Feisty.

Hi Frank,
What is your default python version? It should be python 2.5 You can find out by typing python in a terminal and check sys.version.
Stani

Frank Niessink wrote:

···

Hi Bob, Stani,

2007/5/14, Bob Robison <bob.robison@swri.org>:

On Mon, 14 May 2007 11:14:53 +0200 >> Stani's Python Editor <spe.stani.be@gmail.com> wrote:

> So uninstalling wxPython, removing the wxPython repositories from
> your sources.list and reinstalling wxPython should do the trick. But
> if you want the latest, hottest wxPython for python2.5, you'll have
> to wait till Robin moves his bots to Feisty.

Not sure what else is going on... but I think the wxcommunity repository has been on feisty since late March:

Here's my /etc/apt/sources.list:

deb Index of /ubuntu feisty-security main restricted universe
deb-src Index of /ubuntu feisty universe main restricted
deb Index of /ubuntu feisty main restricted universe
deb Index of /ubuntu feisty-updates main restricted universe
deb NameBright - Coming Soon /
deb-src NameBright - Coming Soon /

wxPython 2.8 is installed for python2.4:

$ ls -d /usr/lib/python2.4/site-packages/wx*
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode
/usr/lib/python2.4/site-packages/wxaddons
/usr/lib/python2.4/site-packages/wx.pth
/usr/lib/python2.4/site-packages/wxversion.py
/usr/lib/python2.4/site-packages/wxversion.pyc
/usr/lib/python2.4/site-packages/wxversion.pyo

But not for python2.5:

$ ls -d /usr/lib/python2.5/site-packages/wx*
ls: /usr/lib/python2.5/site-packages/wx*: No such file or directory

How can I tell apt-get to *also* install wxPython for python2.5? Do I
really need to uninstall wxPython for python2.4 to do that?

Thanks, Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org