1 , 安装 rpmforge , epel
wgethttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
2, yum -y install wxPython
3, 验证
[root@ovirtNode216 6]# python
iPython 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
m>>> import wx
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1229463