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

May 5, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Ubuntu 16.04 Xenial Python 3 wxPython Installation Guide

You are Welcome! The Tutorial Shows You Step-by-Step How to Install wxPython Python 3 for Ubuntu 16.04 Xenial 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 16.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.

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: , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress