Python 3.10.x 설치하기
- homebrew를 통해서 파이선 특정 버전 설치
shell
brew install python@3.10
- 환경변수 추가
shell
vi ~/.zshrc
export PATH="/opt/homebrew/opt/python@3.10/bin:$PATH"
alias python=/usr/bin/python3
source ~/.zshrc
- 버전 확인
shell
python --version