vitalfull.blogg.se

Install pygame for python in mac
Install pygame for python in mac









install pygame for python in mac
  1. #Install pygame for python in mac install
  2. #Install pygame for python in mac software
  3. #Install pygame for python in mac download

No previously-included directories found matching '*/*/CVS' No previously-included directories found matching '*/CVS' Warning: no files found matching 'readme.txt' Running setup.py egg_info for package Pygame

#Install pygame for python in mac install

$ brew install sdl sdl_image sdl_ttf portmidi libogg libvorbis Just type the following commands one at a time and let the computer do its thing: $ brew cask install xquartz

install pygame for python in mac

Now we can start installing all the requirements for Pygame. You’ll also need to install Homebrew Cask ( ): $ brew install caskroom/cask/brew-cask Copy and paste this on the command line: $ ruby -e "$(curl -fsSL )"Īnd follow the directions.

#Install pygame for python in mac download

It saves you having to go to a bunch of different sites and download lots of individual installers.

#Install pygame for python in mac software

Homebrew is a tool to easily install all kinds of software from the command line.

install pygame for python in mac

When it’s finished, type the following at the command line: $ xcode-select -install It can be installed from the App Store (it’s free).

install pygame for python in mac

XCode is the tool from Apple for creating Mac and iOS applications. This is the best method I've found for installing on OS X (and works with Python 3):











Install pygame for python in mac