728x90
반응형
- Install pyenv with brew to manage different Python versions: brew install pyenv
- List all installable versions with pyenv install --list
- Install Python 2.7.18 with pyenv install 2.7.18
- List installed versions with pyenv versions
- Set global python version with pyenv global 2.7.18
- Add eval "$(pyenv init --path)" to ~/.zprofile (or ~/.bash_profile or ~/.zshrc, whichever you need)
- Relaunch the shell and check that Python works, or run $ source ~/.zprofile (Thanks masoud soroush!)
반응형
'프로그래밍' 카테고리의 다른 글
App Store Connect API (0) | 2023.01.01 |
---|---|
cocoapods 설치 안되거나 pod 명령어를 찾을 수 없을 때 (0) | 2022.08.17 |
gem install bundler permission issue (0) | 2022.07.11 |
[Scrum] 스크럼 방법 정리 (0) | 2022.07.05 |
[mac] Ruby 업데이트 (0) | 2022.07.03 |