ericyuan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
# 安装homebrew  https://brew.sh/index_zh-cn
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# https://blog.csdn.net/Monty111/article/details/77994583 brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
# https://www.pygame.org/wiki/GettingStarted python3 -m virtualenv anenv . ./anenv/bin/activate # venvdotapp helps the python be a mac 'app'. So the pygame window can get focus. python -m pip install venvdotapp venvdotapp
python
-m pip install pygame # See if pygame works with the oo module, and the aliens example. python -m pygame.examples.aliens

 

posted on 2019-11-21 10:37  ericyuan  阅读(2005)  评论(0编辑  收藏  举报