python1

python 版本: 3.5/3/6

python1

python 环境:pyenv

网站:https://github.com/pyenv/pyenv

python1

pyenv 环境 搭建:

python1

安装:pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

python1

Linux下安装pyenv的方法
转载: https://www.jb51.net/article/171252.htm

git clone https://github.com/yyuu/pyenv.git ~/.pyenv

echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile

vim ~/.bash_profile
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

source ~/.bash_profile

 pyenv -v

pyenv 命令

python1

python1

python1

pyenv global 环境变量使用:v3.5.3

python1

python1

python1

python1

python1

python1

python1

local pyenv v3.5.3
python1

python1

python1

pyenv虚拟环境;

python1

python1

python1

pip:

python1

jupyter

python1

导包:
python1

python1

上一篇:Mac电脑使用pyenv管理多版本python环境


下一篇:[WIP]pyenv