If you use Anaconda or Miniconda, you can install wxPython via the Anaconda Cloud using: conda install -c anaconda wxpython Use code with caution.
Once the download and installation are complete, you can verify it by running a quick test in your Python interpreter:
On many distributions, it is safer to use the built-in package manager: Ubuntu/Debian: sudo apt-get install python3-wxgtk4.0 Fedora: sudo dnf install python3-wxpython 4. Verifying Your Installation
import wx app = wx.App(False) frame = wx.Frame(None, title="Hello wxPython") frame.Show() app.MainLoop() Use code with caution.
As of May 2026, the current stable release is , designed for modern Python 3 environments. 1. Standard Installation (Windows and macOS)