使用命令“lsb_release -a”,
没有可用的 LSB 模块。
分销商 ID: Ubuntu
描述:Ubuntu 14.04.5 LTS
发布: 14.04
代号:可信赖
我关注了这个页面, https://github.com/pyenv/pyenv#basic-github-checkout
但是安装失败。
克隆https://github.com/pyenv/pyenv
添加命令 $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
source ~/.bash_profile 返回:没有这样的文件或目录
还有,我的echo "$PATH"是/home/vagrant/.pyenv/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/home/vagrant/.pyenv/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/home/vagrant/.pyenv/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
我该如何解决这个问题?
这也是我的~/.bash_profile下面...
[[ -f ~/.bashrc ]] && 源 ~/.bashrc
导出 PYENV_ROOT="$HOME/.pyenv"
导出路径="$PYENV_ROOT/bin:$PATH"
如果命令 -v pyenv 1>/dev/null 2>&1; 然后
eval "$(pyenv init -)"
菲
jeck猫
相关分类