From 8def5c98cf101b18ba39389609aacc104d430e21 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 5 Nov 2023 09:44:12 -0500 Subject: [PATCH] Doc: pipx option to install pkg globally for multi-user access --- scripts/ansible | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ansible b/scripts/ansible index 6af471008..78baa8013 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -224,6 +224,8 @@ else # $APT_PATH/apt -y install pipx # Typically adds 50+ packages! # pipx install ansible-core # pipx ensurepath # Adds /root/.local/bin to $PATH -- next time you open a shell -- e.g. for /root/.local/bin/ansible -> /root/.local/pipx/venvs/ansible-core/bin/ansible + # Or, to install package globally for multi-user access: (pypa/pipx#754) + # PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install ansible-core # 2023-10-11: RasPiOS Bookworm doc for Python with venv (PEP 668 now enforced!) # https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi