This is Ubuntu 22.04 LTS / x86_64 here.
I noticed that all Python executables (scripts) in your ROOT 6.26.18 and 6.28.14 binary distributions misbehave (possibly other distributions are affected as well).
They contain:
#!/usr/bin/env /py-venv/ROOT-CI/bin/python3.10
A simple “brutal fix” could be:
for f in $(grep -l /bin/python3 $(root-config --bindir)/*); do sed -i '1 s@.*@#!/usr/bin/env python3@' ${f}; done
BTW. The previous distributions free from this problem are 6.26.14 and 6.28.12 (they contain “#!/usr/bin/env /usr/bin/python3.10”).