MacOS,  Python

macos解决pyenv环境无法切换

vi ~/.zshrc

export PYENV_ROOT="/Users/xcy/.pyenv"

if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi

留言