快速切换Python版本方法
1、安装gityum -y install git

3、配置环境变量[root@test-137-138 ~]# echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile[root@test-137-138 ~]# echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile

5、重新启动shellexec$SHELLsource~/.bash_profile

7、安装python3.6.4pyenv install -v 3.6.4

9、查看存在的版本pyenv versions

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:22
阅读量:62
阅读量:20
阅读量:76
阅读量:53