본문 바로가기

IT

python 버전 매니저

728x90
반응형
  1. Install pyenv with brew to manage different Python versions: brew install pyenv
  2. List all installable versions with pyenv install --list
  3. Install Python 2.7.18 with pyenv install 2.7.18
  4. List installed versions with pyenv versions
  5. Set global python version with pyenv global 2.7.18
  6. Add eval "$(pyenv init --path)" to ~/.zprofile (or ~/.bash_profile or ~/.zshrc, whichever you need)
  7. Relaunch the shell and check that Python works, or run $ source ~/.zprofile (Thanks masoud soroush!)

https://stackoverflow.com/a/71657414

728x90
반응형

'IT' 카테고리의 다른 글

App Store Connect API  (0) 2023.01.01
cocoapods 설치 안되거나 pod 명령어를 찾을 수 없을 때  (1) 2022.08.17
gem install bundler permission issue  (0) 2022.07.11
[Scrum] 스크럼 방법 정리  (0) 2022.07.05
[mac] Ruby 업데이트  (0) 2022.07.03