Skip to content

Conversation

@satwell
Copy link

@satwell satwell commented Jul 13, 2024

Python's pip and pipx put executable for user-installed modules into ~/.local/bin. Also the XDG basedir specification recommends adding it to PATH, so this may help more than just Python.

Normally on Ubuntu, this is handled by the ~/.profile that's copied from /etc/skel. But since we don't have normal shell initialization, we need to add it to the PATH set in /etc/environment.

Fixes #128.

Python's pip and pipx put executable for user-installed modules into
~/.local/bin.  Also the XDG basedir specification recommends adding it
to PATH, so this may help more than just Python.

Normally on Ubuntu, this is handled by the ~/.profile that's copied from
/etc/skel.  But since we don't have normal shell initialization, we need
to add it to the PATH set in /etc/environment.
@ChristopherHX
Copy link
Collaborator

Technically adding anthing to /etc/environment has no effect for docker, but yes we have a build script that parses the files before creating the docker image metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tools installed with pipx don't work: no $HOME/.local/bin in PATH

2 participants