Jan 10, 2015 I have compiled a replicable, dependable, almost understandable set of steps to install Pygame for Python 3 that has worked across four generations of Mac OS X. Pieces of these steps appear in two or three other how-to’s on the web, but this full process has been carefully tested across Mac OS X 10.6-10.9, and I’m posting the steps here to solicit feedback from Pygame-curious Mac users out.
- Open the Terminal.
- Install Homebrew.
- Enable the Xcode Command Line Tools, necessary for installing/compiling Homebrew:
xcode-select –install
- Then install Homebrew itself:
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'
Install Pygame On Mac
Jun 13, 2018 Installing Python and Pygame for Mac Zenva. Unsubscribe from Zenva? Download & Install Pygame for Python 3.7+ Using the Pip Package - Duration: 4:30. May 07, 2014 How to install Python3 + Pygame on mac os x - Mac computer GadgetHero. Mac vs PC - ROLE REVERSAL. Installing Python 3 and Pygame on OS X / Mac Platform - Duration. Photoshop cc 2014 download mac. Tips And Tricks for Shipping a PyGame App on the Mac A quick and dirty guide to getting that little PyGame hack you did up and running on someone else’s Mac. Python programming deployment pygame Sunday January 07, 2018.
- Install Python 2.7 with
brew install python
Pygame Module Download
- Optionally you can also install Python 3 with
brew install python3
- Installing either of these with install pip and pip3 respectively, a package manager for Python.
- Install prerequisites for pygame:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi mercurial
- Install pygame using
pip
withpip install hg+http://bitbucket.org/pygame/pygame
- Install numpy and matplotlib using
pip install numpy matplotlib
Then you can run Python scripts from the Terminal with
python filename.py
.Pygame Download For Python 3.7
![How How](/uploads/1/3/3/9/133943945/309211056.png)
Why use Homebrew? So when you install things you can easily remove and reinstall them if they break, remove them if they're misbehaving or you no longer need them, or update your packages whenever updates come out (you can do that with
brew update
then brew upgrade
). It also makes installing all kinds of languages and things super easy. Little snitch dmg.