m1) pygame 설치

❍ 개발환경

venv 로 설치

# brew update
~ brew update

# 패키지 설치
brew install pkg-config xquartz 
brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf 

# venv 환경설정
python3 -m venv venv  
source venv/bin/activate  

# pip update
pip install —-upgrade pip setuptools  

# install pygame
pip install wheel  
pip install venvdotapp  
venvdotapp  # venv 실행확인
pip install git+https://github.com/nelsonlove/pygame 

# pygame test
python -m pygame.examples.aliens

'+++팁+++' 카테고리의 다른 글

m1) homebrew 설치하기  (0) 2022.04.12
m1) LightGBM, XGBoost 설치  (0) 2022.04.11
vs code) 비주얼 스튜디오 코드 php 개발환경 설정  (0) 2022.04.08
m1) graphviz 설치  (0) 2022.04.06
m1) Tensorflow 설치  (0) 2022.04.05
Comment