Installing the wxPython library
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 operating system we are running.
Note
The wxPython third-party library has been around for more than 18 years, which indicates that it is a robust library.
Getting ready
In order to use wxPython with Python 3.6 and above, we have to install the wxPython Phoenix version.
How to do it…
When searching online for wxPython, you will probably find the official website at www.wxpython.org:

If you click on the download link for MS Windows, you will see several Windows installers, all of which are for Python 2.x only:

To use wxPython with Python 3.6, we have to install the wxPython/Phoenix library. We can find the installer at the snapshot-builds link: http://wxpython.org/Phoenix/snapshot-builds/
From here, we can select the wxPython/Phoenix...