Every time I run my code on Windows it works. I have installed pygame on Mac with Homebrew and the same program doesn\'t work. Other programs work on Mac with pygame, just not m
Perhaps this program required a dependency that wasn't needed in another program, in which case your installation would be incorrect. See this for instructions about installation on Mac.