快速切换Python版本方法

 时间:2024-11-06 07:52:04

1、安装gityum -y install git

快速切换Python版本方法

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

快速切换Python版本方法

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

快速切换Python版本方法

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

快速切换Python版本方法

9、查看存在的版本pyenv versions

快速切换Python版本方法
  • python如何生成随机数或随机选择样本?
  • postgresql数据库中psql工具常用命令(一)
  • Windows下安装Redis服务
  • 如何使用python的tkinter创建Toplevel组件
  • 用rman对数据进行全备份,nocatalog方式
  • 热门搜索
    阴历和阳历怎么区分 怎么做起泡胶 疣怎么读 c盘满了怎么清理 爬虾的做法 胡辣汤的做法 罐头鱼的做法 河蚌的做法 古老肉的做法 炸馒头片的做法