From fadb3f33896991a61348649b350bf9c31b42dd38 Mon Sep 17 00:00:00 2001 From: LukeAI <43993778+LukeAI@users.noreply.github.com> Date: Tue, 8 Jun 2021 16:10:38 +0100 Subject: [PATCH] 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 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0d10e54f..1b00368a 100644 --- a/README.md +++ b/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)" ~~~