Skip to main content

pyenv


Installation​

sudo apt-get install libssl-dev libbz2-dev
curl https://pyenv.run | bash
.profile
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
.zshrc
# ...

eval "$(pyenv init -)"

# ...

Commands​

Version​

  • pyenv --version: pyenv 버전
  • pyenv version: ν˜„μž¬ κΈ°λ³Έ python 버전
  • pyenv versions: μ„€μΉ˜λœ python 버전
  • pyenv install --list: μ„€μΉ˜ κ°€λŠ₯ν•œ python 버전

Reference​