import wx in python windows code example Example 1: installing wxpython on windows 10 pip install -U wxPython Example 2: python install wx pip install wxPython