Mac OS 如何安装 pygame
猫行天下
共 483字,需浏览 1分钟
·
2017-08-27 17:52
1) Install XCode and command line tools
2) Install Homebrew (ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)")
3) brew install Python3
4) brew install git
5) brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
6) Install XQuartz - http://xquartz.macosforge.org
7) brew tap homebrew/headonly
8) brew install --HEAD smpeg
9) brew install python (needed to install mercurial)
10) brew install mercurial
11) pip3 install hg+http://bitbucket.org/pygame/pygame
评论