I've been successfully using Thonny with Pygame and Pygame Zero for a while. Work upgraded the PCs to 4.0.0 (Python 3.10.4) and now I get the following error:
import pgzrun ModuleNotFoundError: No module named 'pgzrun'
I upgraded Thonny on my own Mac and had exactly the same issue.
Thonny's plug-ins manager shows both Pygame and Pygame Zero to be installed.
On my Mac, I used pip3 to install both plug-ins and the same code successfully executed from IDLE and the Terminal.
Back in Thonny, I have tried changing the Python Executable to each of the available options but this does not help. I have also tried using Thonny's Pygame Zero mode, but this also reports that the module is missing.
Any help and advice to overcome the problem, but on Mac and Windows, would be very much appreciated.