---恢复内容开始---
1 输入apt-cache search wxpython
如果有返回信息
则输入 sudo apt-get install python-tools
2 否则
1、添加软件源地址到apt列表中。输入语句:curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -
2、添加如下几行文字到/etc/apt/sources.list文件中。将其中的“DIST”替换为下表中适合你系统的名字。
# wxWidgets/wxPython repository at apt.wxwidgets.org
deb http://apt.wxwidgets.org/ DIST-wx main
deb-src http://apt.wxwidgets.org/ DIST-wx main
Release |
DIST name |
Architectures |
Python Versions |
Latest wx |
Ubuntu 6.06 |
dapper |
i386, amd64 |
2.4 |
2.8.8.0 |
Ubuntu 6.10 |
edgy |
i386, amd64 |
2.4, 2.5 |
2.8.6.1 |
Ubuntu 7.04 |
feisty |
i386, amd64 |
2.4, 2.5 |
2.8.9.1 |
Ubuntu 7.10 |
gutsy |
i386, amd64 |
2.4, 2.5 |
2.8.9.2 |
Ubuntu 8.04 |
hardy |
i386, amd64 |
2.4, 2.5 |
2.8.10.1 |
Ubuntu 8.10 |
intrepid |
i386, amd64 |
2.4, 2.5 |
2.8.10.1 |
Ubuntu 9.04 |
Jaunty |
i386, amd64 |
2.5, 2.6 |
2.8.11.0 |
Ubuntu 9.10 |
karmic |
i386, amd64 |
2.5, 2.6 |
2.8.11.0 |
Ubuntu 10.4 |
lucid |
i386, amd64 |
2.6 |
2.8.12.0 |
Ubuntu 10.10 |
maverick |
i386, amd64 |
2.6 |
2.8.12.0 |
Ubuntu 11.4 |
natty |
i386, amd64 |
2.6, 2.7 |
2.8.12.0 |
Debian 4.0 |
etch |
i386, amd64 |
2.4 |
2.8.12.0 |
Debian 5.0 |
lenny |
i386, amd64 |
2.4, 2.5 |
2.8.12.0 |
Debian 6.0 |
squeeze |
i386, amd64 |
2.5, 2.6 |
2.8.12.0 |
---恢复内容结束---
时间: 2024-12-15 06:49:18