*** ERROR: ambiguous python shebang in /usr/share/lmod/8.2.5/libexec/run_lmod_cache.py: #!/usr/bin/python -E. Change it to python3 (or python2) explicitly.
error: Bad exit status from /var/tmp/rpm-tmp.Imca5x (%install)
easiest fix is to fix it in the spec file during the %build phase
easiest fix is to fix it in the spec file during the
%build
phase