Dear Easybuilders,
Indeed it was a problem of the installation of python3.11, since Rocky
Linux,
does not install pip in /usr/lib but in /usr/local/lib which is not exposed
by EasyBuild.
I have succeeded the installation by loading first a Python module (already
installed with EB)
and then add in the lua module the path to the python3 of the module:
setenv("EB_PYTHON", "/software/Python/3.13.1-GCCcore-14.2.0/bin/python3")
It looks it works for "non" python packages...I hope it will work for the
all.
Best regards
quim
Missatge de l'adreça <[email protected]> del dia dc., 7 de gen. 2026
a les 13:15:
> Dear Easybuilders,
>
> I am having troubles trying to install EB 5.2.0
> I have installed python3.6 , and I installed EB 5.2.0 from version 5.1.1.
> But after installation eb 5.2.0 complains about the python version.
>
> So I have installed python3.11 and "activate" pip with "python3.11 -m
> ensurepip --upgrade"
> to be able to locate the pip version.
>
> Then, I have followed the instructions in :
> https://docs.easybuild.io/installation/#eb_as_module
> After passing Step 1 successfully, I've got stacked in Step 2, trying to
> install it as a module :
>
> *Step1: *
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$* export
> EB_TMPDIR=/tmp/easybuild/en_tmp*
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$ *python3.11 -m pip
> install --ignore-installed --prefix $EB_TMPDIR easybuild*
> ...
> Successfully installed easybuild-5.2.0 easybuild-easyblocks-5.2.0
> easybuild-easyconfigs-5.2.0 easybuild-framework-5.2.0
>
> Step2;
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$ *export
> PATH=$EB_TMPDIR/bin:$PATH*
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$ *export
> PYTHONPATH=$(/bin/ls -rtd -1 $EB_TMPDIR/lib*/python*/site-packages | tail
> -1):$PYTHONPATH*
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$ *export
> EB_PYTHON=python3.11*
> [easybuild@na10:~/eb/git/easybuild-easyconfigs]$ *eb
> --install-latest-eb-release
> --installpath="/software-nas/eb2024/easybuild/software/common/"*
> ...
> == installing...
>
> ERROR: Shell command failed!
> full command ->* /usr/bin/python3.11 -m pip --version*
> *exit code -> 1*
> called from -> 'det_pip_version' function in
> /tmp/easybuild/en_tmp/lib/python3.11/site-packages/easybuild/easyblocks/p/python.py
> (line 131)
> working directory ->
> /dev/shm/easybuild/EasyBuild/5.2.0/system-system/easybuild-framework-5.2.0
> output (stdout + stderr) ->
> /tmp/eb-kol_ea0o/run-shell-cmd-output/python311-koyl2vn2/out.txt
> interactive shell script ->
> /tmp/eb-kol_ea0o/run-shell-cmd-output/python311-koyl2vn2/cmd.sh
>
> == ... (took 8 secs)
> == FAILED: Installation ended unsuccessfully: shell command 'python3.11
> ...' failed with exit code 1 in install step for EasyBuild-5.2.0.eb (took
> 10 secs)
> == Results of the build can be found in the log file(s)
> /software/eb2024/easybuild/tmp/easybuild-EasyBuild-5.2.0-20260107.121559.nsMvs.log
> == Summary:
> * [FAILED] EasyBuild/5.2.0
> ERROR: Installation of EasyBuild-5.2.0.eb failed: shell command
> 'python3.11 ...' failed with exit code 1 in install step for
> EasyBuild-5.2.0.eb
>
>
> In the log file it says:
>
>
>
>
>
>
>
>
>
>
>
> *== 2026-01-07 12:16:10,643 pythonpackage.py:611 DEBUG Using 'pip install'
> for installing Python packages: %(python)s -m pip install
> --prefix=%(prefix)s %(installopts)s %(loc)s== 2026-01-07 12:16:10,644
> python.py:129 INFO Determining pip version...== 2026-01-07 12:16:10,649
> run.py:478 INFO run_shell_cmd: Script to start debug shell for
> '/usr/bin/python3.11 ...' shell command will be saved to
> /tmp/eb-kol_ea0o/run-shell-cmd-output/python311-koyl2vn2/cmd.sh
> output will be logged to
> /tmp/eb-kol_ea0o/run-shell-cmd-output/python311-koyl2vn2/out.txt==
> 2026-01-07 12:16:10,649 run.py:504 INFO Path to bash that will be used to
> run shell commands: /usr/bin/bash== 2026-01-07 12:16:10,650 run.py:518 INFO
> Running '/usr/bin/python3.11 ...' shell command in
> /dev/shm/easybuild/EasyBuild/5.2.0/system-system/easybuild-framework-5.2.0:
> /usr/bin/python3.11 -m pip --version== 2026-01-07 12:16:10,669
> run.py:636 WARNING '/usr/bin/python3.11 ...' shell command FAILED (exit
> code 1)== 2026-01-07 12:16:10,669 run.py:637 INFO Output of
> '/usr/bin/python3.11 ...' shell command (stdout +
> stderr):/usr/bin/python3.11: No module named pip*
> However, from the working directory I run the command:
>
> [easybuild@na10:/dev/shm/easybuild/EasyBuild/5.2.0/system-system/easybuild-framework-5.2.0]$
> */usr/bin/python3.11 -m pip --version*
> *pip 22.3.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)*
>
>
> Any hint on how to proceed ?
>
> Thank you in advance !
> quim
>
>
>
> --
>
> ----------------------------------------------------------------------------------------------------------------------------------------
> *Dr. Joaquim Jornet Somoza*
> *Técnico Superior de Cálculo Científico *
> Servicios Generales a la Investigación (*SGIker*)
> Universidad del País Vasco (*UPV/EHU*)
> email: [email protected]
> Edificio Joxe Maria Korta (Campus Gipuzkoa)
> Av. Tolosa 72, 4a planta
> 20018 Donostia-San Sebastián,
> Gipuzkoa, Spain
>
> *External Collaborator.*
> Nano-Bio Spectroscopy group
> Departamento de Física de Materiales
> Universidad del País Vasco (UPV/EHU)
> Donostia-San Sebastián, Gipuzkoa, Spain
>
> The Max Planck Institute for the Structure and Dynamics of Matter (MPSD)
> Bldg. 99 (CFEL)
> Luruper Chaussee 149
> 22761 Hamburg, Germany
>
--
----------------------------------------------------------------------------------------------------------------------------------------
*Dr. Joaquim Jornet Somoza*
*Técnico Superior de Cálculo Científico *
Servicios Generales a la Investigación (*SGIker*)
Universidad del País Vasco (*UPV/EHU*)
email: [email protected]
Edificio Joxe Maria Korta (Campus Gipuzkoa)
Av. Tolosa 72, 4a planta
20018 Donostia-San Sebastián,
Gipuzkoa, Spain
*External Collaborator.*
Nano-Bio Spectroscopy group
Departamento de Física de Materiales
Universidad del País Vasco (UPV/EHU)
Donostia-San Sebastián, Gipuzkoa, Spain
The Max Planck Institute for the Structure and Dynamics of Matter (MPSD)
Bldg. 99 (CFEL)
Luruper Chaussee 149
22761 Hamburg, Germany