Can’t install pygame with pip as there is an error whilst runningvsetup.py bdist_wheel for pygame [duplicate]

Just run this and you’ll be able to work with the latest version of PyGame.
This command installs the missing dependencies that cause your error.

brew install sdl sdl_image sdl_mixer sdl_ttf portmidi

Then you can run pip install pygame and it will work fine.

Leave a Comment