Not all versions of Thonny include the GuiZero
Library. You can install it (or other libraries) as follows in Thonny:
- Choose Tools → Manage packages…
- Enter “guizero” (in the search bar at the top —
To install other libraries, replace guizero here with other library names).
- Press the “Find package from PyPI” button (on the top
right).
- Press the “Install” button (at the bottom).
- Press “Close”.
You can check your installation by running this sample GuiZero program:
template-drawing.py