On an Ubuntu 24.04 system (updated from 22.04 and 20.04), running the site.yml playbook fails with this error message:
$ ansible-playbook site.yml -i hosts.plasma -u ubuntu --limit uracile
--- snip ---
TASK [Download the TLJH installer] *****************************************************************************************************************
ok: [81.194.XX.XX]
TASK [Check if the tljh-plasma is already installed] ***********************************************************************************************
ok: [81.194.XX.XX]
TASK [Upgrade the tljh-plasma plugin first if it is already installed] *****************************************************************************
skipping: [81.194.XX.XX]
TASK [Run the TLJH installer] **********************************************************************************************************************
fatal: [81.194.XX.XX]: FAILED! => changed=true
cmd: |-
/usr/bin/python3 /srv/tljh-installer.py --version 1.0.0 --plugin git+https://github.com/plasmabio/plasma@master#"egg=tljh-plasma&subdirectory=tljh-plasma" tljh-repo2docker==1.0.2
delta: '0:00:00.167622'
end: '2025-06-17 21:29:19.816125'
msg: non-zero return code
rc: 1
start: '2025-06-17 21:29:19.648503'
stderr: |-
Existing TLJH installation detected, upgrading...
Upgrading pip...
Ran /opt/tljh/hub/bin/pip install --upgrade pip with exit code 1
Traceback (most recent call last):
File "/opt/tljh/hub/bin/pip", line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
Traceback (most recent call last):
File "/srv/tljh-installer.py", line 516, in <module>
main()
File "/srv/tljh-installer.py", line 480, in main
run_subprocess([hub_env_pip, "install", "--upgrade", "pip"])
File "/srv/tljh-installer.py", line 172, in run_subprocess
raise subprocess.CalledProcessError(cmd=cmd, returncode=proc.returncode)
subprocess.CalledProcessError: Command '['/opt/tljh/hub/bin/pip', 'install', '--upgrade', 'pip']' returned non-zero exit status 1.
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
pip is installed system-wide:
$ pip --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
but indeed missing with tljh:
$ /opt/tljh/hub/bin/pip --version
Traceback (most recent call last):
File "/opt/tljh/hub/bin/pip", line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
On an Ubuntu 24.04 system (updated from 22.04 and 20.04), running the
site.ymlplaybook fails with this error message:pipis installed system-wide:but indeed missing with tljh: