The wxPython library does not ship with Python, so in order to use it, we first have to install it. This recipe will show us where and how to find the right version to install in order to match both the installed version of Python and the OS we are running.
Installing the wxPython library
Getting ready
In order to use wxPython with Python 3.7 and later, we have to install the wxPython Phoenix version. Here is a link to the downloads page: https://wxpython.org/pages/downloads/. We will use this link to download and install the wxPython GUI framework.
And this is a link to PyPI with good information about how...