python 版本: 3.5/3/6
python 环境:pyenv
网站:https://github.com/pyenv/pyenv
pyenv 环境 搭建:
安装:pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
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 命令
pyenv global 环境变量使用:v3.5.3
local pyenv v3.5.3
pyenv虚拟环境;
pip:
jupyter
导包: