Ubuntu下安装Pyenv不成功,求指教
虚拟机:VMware12.0
操作系统:Ubuntu16.04 LTS (新安装系统)
已经按照网上的步骤:
1.安装git:
$sudo apt-get install git
2.安装依赖包:
$ sudo apt-get install libc6-dev gcc
$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm
3.安装Pyenv:
$sudo curl -L https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
4.配置环境:
$ git clone git://github.com/yyuu/pyenv.git ~/.pyenv $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc $ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc $ echo 'eval "$(pyenv init -)"' >> ~/.bashrc $ exec $SHELL -l
最终结果: