Bored of using Java for making GUI App, I want to switch to another language that can handle the cross-platform problem with GUI, wxPython comes into my cup of tea.
Unfortunately, since i'm using Ubuntu 12.04 to dev and all of the packages are pretty much outdated, plus the instruction is not clear enough on how to install wxPython 3.0.0 on Ubuntu 12.04. At first it created a lot of conflicts between packages but I managed to come up with good way to install wxPython 3.0.0 on Ubuntu 12.04:
1. Get all the dependencies needed: (it takes couple minutes)
And that's it, we pretty much install it on our Ubuntu 12.04. You can check it by 'import wx' in python command line.
Note that when you first run you will run into some errors like:
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/wx-2.9.4-gtk2/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/usr/local/lib/python2.6/dist-packages/wx-2.9.4-gtk2/wx/_core.py", line 4, in <module>
ImportError: libwx_gtk2u_xrc-2.9.so.4: cannot open shared object file: No such file or directory
It is time to run this command in terminal 'sudo ldconfig' in order to get everything works.