r/pythonhelp • • May 05 '20

FIX for pygame not working on MacOS

I spent a lot of time looking around the internet for a solution to pygame's display not initializing on mac os.

Here is the solution if anyone else ends up needing it, just uninstall pygame if already installed and run this command:

pip3 install pygame==2.0.0.dev6

3 Upvotes

1 comment sorted by

2

u/tomophilia May 25 '20

Holay molay! Thanks! I was scouring the net trying to figure out the problem I was having. This worked getting VSCode to run pygame after Ananconda Spyder crashed and no longer opens. (Pygame ran well enough in Spyder though)

I couldn't figure it out though it looked like a pyqt5 deprecated issue.

Thanks again!