-
Try clicking the run button instead, I don’t think you’re inside the virtualenv, so you can’t access some of the installed module.
Alternatively, you can runsource .venv/bin/activate
in the terminal before running the python program (or before running pip) -
Pygame will not work on IDX as there are no way to stream native application for the time being
Pygame/PySimpleGUI setup help - #6 by kirupa