Ubuntu 14.04 Trusty Python 3 wxPython Installation Guide
Hi! The Tutorial shows you Step-by-Step How to Install wxPython Python 3 for Ubuntu 14.04 Trusty LTS GNU/Linux Desktop.
Especially relevant: an Equivalent wxPython Ubuntu Setup may be achieved on Anaconda Python instead that for the System one like here!
And wxPython for Ubuntu 14.04 is the Best and Most Mature Python Cross-Platform GUI Toolkit, given a number of constraints.
The only reason wxPython isn’t the Standard Python GUI Toolkit is that Tkinter was there first.
Finally, the wxPython Python3 Release is Now Available under the PyPi Packages Repository.
-
Open a Command Line Session
Ctrl+Alt+t
(Press “Enter” to Execute Commands) -
Install Python 3 PIP for Ubuntu
-
Installing some Required Packages.
sudo su -c "apt-get install make gcc libgtk-3-dev libgstreamer* libwebkit-dev freeglut3 freeglut3-dev python-gst-1.0 python3-gst-1.0 libgstreamer-plugins-base1.0-dev"
-
Installing wxPython Python 3.
pip3 install -v --user wxPython
Take into account that to complete the Installation will take some minutes…
-
Finally, to Test WxPython Installation on Python 3:
python3
And then on Python 3 Prompt Import it with:
import wx
Congratulations, Now you can be able to Develop Python 3 WxPython UIs!