Installing
-
2. Installing Packages
Install the required packages.
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
-
3. Installing wxPython
Now to install wxPython Python 3, simply run:
pip3 install -v --user wxPython
Note that the installation may take a long time, so keep the terminal window open until the setup is complete:
-
4. Testing wxPython
Finally, to test wxPython installation on Python 3:
python3
Then, on the Python 3 prompt, import it with:
import wx
Congratulations! You are now ready to develop Python 3 wxPython UIs :)
Contents