Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue: Failed to isolate installed egg dir for easybuild-framework #4296

Closed
calvinp0 opened this issue Jul 13, 2023 · 3 comments
Milestone

Comments

@calvinp0
Copy link

Hi, I have been attempting to follow method 2 in the installation instructions for EasyBuild but once I attempt to run the following command:

eb --install-latest-eb-release --prefix /usr/local/easybuild

I receive the following error:

== FAILED: Installation ended unsuccessfully (build directory: /usr/local/easybuild/build/EasyBuild/4.8.0/system-system): build failed (first 300 chars): Failed to isolate installed egg dir for easybuild-framework (took 17 secs)
== Results of the build can be found in the log file(s) /tmp/azureuser/easybuild/eb-bl67y98p/easybuild-EasyBuild-4.8.0-20230713.100326.XOgpO.log
ERROR: Build of /tmp/azureuser/easybuild/eb-bl67y98p/tmpg23oqjp8/easybuilders/easybuild-easyconfigs-develop/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.8.0.eb failed (err: 'build failed (first 300 chars): Failed to isolate installed egg dir for easybuild-framework')

Here are the following variables I have exported for the installation:

$PATH=tmp/azureuser/eb_tmp/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
$PYTHONPATH=/tmp/azureuser/eb_tmp/local/lib/python3.10/dist-packages/
$EB_PYTHON=python3

The installation is a clean one, so I am not sure what the issue is nor how to solve it. Any advice would be great! Thanks

@calvinp0
Copy link
Author

calvinp0 commented Jul 13, 2023

azureuser@TestBuild:/tmp/azureuser/eb_tmp$ python -V
type module
type -f module
module --version
module av EasyBuild
which -a eb
eb --version
---------------
Python 3.10.6
module is a function
module ()
{
    if [ -z "${LMOD_SH_DBG_ON+x}" ]; then
        case "$-" in
            *v*x*)
                __lmod_sh_dbg='vx'
            ;;
            *v*)
                __lmod_sh_dbg='v'
            ;;
            *x*)
                __lmod_sh_dbg='x'
            ;;
        esac;
    fi;
    if [ -n "${__lmod_sh_dbg:-}" ]; then
        set +$__lmod_sh_dbg;
        echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2;
    fi;
    eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)";
    __lmod_my_status=$?;
    if [ -n "${__lmod_sh_dbg:-}" ]; then
        echo "Shell debugging restarted" 1>&2;
        set -$__lmod_sh_dbg;
    fi;
    unset __lmod_sh_dbg;
    return $__lmod_my_status
}
-bash: type: module: not found

Modules based on Lua: Version 8.7.29  2023-07-10 17:58 -06:00
    by Robert McLay mclay@tacc.utexas.edu

Lmod has detected the following error:  module avail is not possible. MODULEPATH is not set or not set with
valid paths.



/tmp/azureuser/eb_tmp/local/bin/eb
This is EasyBuild 4.8.0 (framework: 4.8.0, easyblocks: 4.8.0) on host TestBuild.

@migueldiascosta
Copy link
Member

@calvinp0 I'm sorry we didn't get back to you on this, but it is being looked at (seems to be related to easybuilders/easybuild-easyblocks#2976)

Did you manage to workaround the issue?

@calvinp0
Copy link
Author

@calvinp0 I'm sorry we didn't get back to you on this, but it is being looked at (seems to be related to easybuilders/easybuild-easyblocks#2976)

Did you manage to workaround the issue?

Hey @migueldiascosta. No worries on the response! I did have a look around at the submitted issue you mentioned and also on Slack and yes, I did manage a workaround due to the information. Thanks!

@boegel boegel added this to the next release (4.8.1?) milestone Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants