wxPython Python 3 Ubuntu 18.10 Installation Guide
[xyz-ihs snippet=”336AdTop”]
Hi! The Tutorial shows you Step-by-Step How to Install wxPython Python 3 for Ubuntu 18.10 Cosmic 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 18.10 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)
[xyz-ihs snippet=”336Ad2″]
[nextpage title=”wxPython Python 3 Ubuntu 18.10 – Installing Packages”]
-
Install Python 3 PIP for Ubuntu
-
Installing some Required Packages.
sudo apt install make gcc libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libgstreamer-gl1.0-0 freeglut3 freeglut3-dev python-gst-1.0 python3-gst-1.0 libglib2.0-dev ubuntu-restricted-extras libgstreamer-plugins-base1.0-dev
[xyz-ihs snippet=”336Ad2″]
[nextpage title=”wxPython Python 3 Ubuntu 18.10 – Setting Up”]
[xyz-ihs snippet=”336Ad1″]
-
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 :)