Hi Ole,
Please try running this, which will probably reveal the problem:
python3 -O -m easybuild.main
Somehow that's resulting in a non-zero exit code, which makes the 'eb'
wrapper conclude it can't use the 'python3' command.
You can control which python* command is used to run EasyBuild using the
$EB_PYTHON environment variable:
export EB_PYTHON=python3
But that won't make any difference here, it should work already with
python3?
If you also define $EB_VERBOSE (any value, so "export EB_VERBOSE=1"),
you'll get a bit more information.
regards,
Kenneth
On 04/06/2021 13:33, Ole Holm Nielsen wrote:
I just installed EasyBuild v4.4.0 on a server running Almalinux 8.4:
$ python3 bootstrap_eb.py $EASYBUILD_PREFIX
Unfortunately, I'm now getting this error about a missing python:
$ eb --help
ERROR: No compatible 'python' command found via $PATH (EasyBuild
requires Python 2.6+ or 3.5+)
Obviously, Python3 is installed on this el8 system:
$ which python python3
/usr/bin/which: no python in
(/home/modules/software/EasyBuild/4.4.0/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/opt/modules/bin)
/usr/bin/python3
$ rpm -qf /usr/bin/python3
python36-3.6.8-2.module_el8.3.0+6191+6b4b10ec.x86_64
Is there a fix for the inability to locate the python command?
Thanks,
Ole