浏览代码

Fix instructions for Debian/Ubuntu to have shims ahead of ~/.local/bin (#1977)

Debian/Ubuntu's stock `~/.bashrc` prepends `~/.local/bin` to `PATH` towards its end if it exists.
Executables for per-user modules for system Python are installed into `~/.local/bin` --
so need to prepend `shims` to `PATH` later that that.

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
pull/1978/head
LukeAI 5 年前
提交者 GitHub
父节点
当前提交
fadb3f3389
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      README.md

+ 4
- 0
README.md 查看文件

@ -240,6 +240,10 @@ easy to fork and contribute any changes back upstream.
~~~bash
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
~~~
And put this line at the _bottom_ of `~/.profile`:
~~~bash
eval "$(pyenv init --path)"
~~~

正在加载...
取消
保存