# 安装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

 

相关文章:

  • 2021-10-29
  • 2021-07-31
  • 2021-08-11
  • 2021-11-12
  • 2021-06-08
  • 2021-04-12
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-02-19
  • 2021-06-30
  • 2021-10-19
  • 2021-10-27
  • 2022-12-23
  • 2021-05-27
相关资源
相似解决方案