How to Install Python 3 wxPython for Ubuntu 16.04 Xenial Easy Guide

May 5th, 2018 by thelinuxevangelist

Ubuntu 16.04 Xenial Python 3 wxPython Installation

The Linux Tutorial Shows You Step-by-Step How-to Install Python 3 wxPython for Ubuntu 16.04 Xenial LTS 32/64-bit GNU/Linux Desktop.

And wxPython for Ubuntu 16.04 is the best and most mature 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, Now the wxPython Python 3 Release is Available under the PyPi Packages Repository.

Installing wxPython Python 3 for Ubuntu 16.04 Xenial LTS - Featured
  1. Open a Command Line Session
    Ctrl+Alt+t
    (Press “Enter” to Execute Commands)

    How to Install Python 3 wxPython for Ubuntu 16.04 Xenial  - Featured
  2. Install Python 3 PIP for Ubuntu Linux:

    Python 3 PIP Quick-Start Guide
  3. Installing some Required Packages

    sudo apt install make gcc libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev freeglut3 freeglut3-dev python-gst-1.0 python3-gst-1.0 libglib2.0-dev ubuntu-restricted-extras libgstreamer-plugins-base1.0-dev
  4. Installing wxPython Python 3

    pip3 install --user wxPython

    Take into account that to complete the Installation will take some minutes…

  5. 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!

Tags: , , , , , , , , , , , , , , , , , , ,