mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
scripts/ansible links: RasPiOS Bookworm doc for Python with venv
This commit is contained in:
parent
de83ed694f
commit
60763fab8e
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ else
|
||||||
# pipx install ansible-core
|
# 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
|
# 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# https://www.raspberrypi.com/documentation/computers/os.html#using-pip-with-virtual-environments
|
||||||
|
|
||||||
echo -e "\nCreate virtual environment for Ansible"
|
echo -e "\nCreate virtual environment for Ansible"
|
||||||
python3 -m venv /usr/local/ansible
|
python3 -m venv /usr/local/ansible
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue