-
-
Notifications
You must be signed in to change notification settings - Fork 183
Compiling on macOS
Dan Lawrence edited this page Feb 15, 2023
·
6 revisions
-
Install Homebrew if you don't already have it:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install the pygame-ce dependencies with Homebrew:
brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf pkg-config portmidi
-
Clone and install pygame-ce from source:
python3 -m pip install git+https://github.com/pygame-community/pygame-ce.git
-
That's it!