wxPython Python 3 Ubuntu 21.04 Installation – Step-by-step

June 5, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Installing Packages

    First, of all Install some Required Packages
    With:

    sudo apt install python3-pip make gcc libgtk-3-dev libgstreamer-gl1.0-0 freeglut3 freeglut3-dev python3-gst-1.0 libglib2.0-dev ubuntu-restricted-extras libgstreamer-plugins-base1.0-dev
  2. 3. Installing wxPython

    Now to Install wxPython Python 3
    Simply play:

    pip3 install -v --user wxPython

    Take into account that to complete the Installation may take a long Time…
    So let the Terminal Window open until the Setup is achieved:

    wxpython done
  3. 4. Testing wxPython

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

Contents


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

QuickChic Theme • Powered by WordPress