mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
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>
This commit is contained in:
parent
f81bffc95e
commit
fadb3f3389
1 changed files with 4 additions and 0 deletions
|
@ -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)"
|
||||
~~~
|
||||
|
||||
|
|
Loading…
Reference in a new issue