Python >> Tutoriel Python >  >> Python GUI >> Pygame GUI

pip install pygame - Fichier SDL.h introuvable

Cela a aidé à résoudre le problème. Utilisez sudo si nécessaire.

brew install sdl sdl_image sdl_mixer sdl_ttf portmidi;
pip3 install pygame;
pip install pygame