apt下安装wxpython

http://forum.ubuntu.org.cn/viewtopic.php?t=26261

1、修改数据源: 
sudo cp /etc/apt/sources.list /etc/apt/sources.list_old 
sudo gedit /etc/apt/sources.list 
向文件末尾加入: 
deb http://starship.python.net/crew/robind/wxPython/apt/ binary/ 
deb-src http://starship.python.net/crew/robind/wxPython/apt/ source/ 
2、更新数据源: 
sudo apt-get update 
3、安装wxpython 
sudo apt-get install python-wxgtk2.6 python-wxtools wx2.6-i18n

posted @ 2012-03-27 09:57  陳聽溪  阅读(221)  评论(0)    收藏  举报