Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 版本管理工具 #196

Open
yaogengzhu opened this issue Dec 5, 2023 · 0 comments
Open

python 版本管理工具 #196

yaogengzhu opened this issue Dec 5, 2023 · 0 comments

Comments

@yaogengzhu
Copy link
Owner

macOs

第一步:安装 pyenv

brew install pyenv

第二步:配置环境 ~/.bash_profile

if command -v pyenv 1>/dev/null 2>&1; then
    eval "$(pyenv init -)"
fi

第三步:更新配置

source ~/.bash_profile

第四步:下载所需要的版本

pyenv install 3.9

第五步:切换所需版本

pyenv global 3.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant