-
Notifications
You must be signed in to change notification settings - Fork 706
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
installing EasyBuild with eb
fails when it is using a python version different that the system python
one
#9151
Comments
This is a workaround for the problem when trying to install diff --git a/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.1.0.eb b/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.1.0.eb
index 65b2ca298a..ad29c55181 100644
--- a/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.1.0.eb
+++ b/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.1.0.eb
@@ -41,4 +41,7 @@ sanity_check_paths = {
'dirs': ['lib/python%s/site-packages' % local_pyshortver],
}
+req_py_majver = 3
+modextravars = {'EB_PYTHON': '/usr/bin/python3'}
+
moduleclass = 'tools' The issue is related to the fact that the |
Just for future reference, using
because:
So basically the default system Python is used when installing EasyBuild, rather than the Python used to run The fix is probably to:
cc @jshelley |
fixed by the changes in easybuilders/easybuild-easyblocks#1907 + easybuilders/easybuild-easyblocks#1908 |
fixed now in |
seen in #9149, fails during the sanity check
edit: actual failure in sanity check looks like
The text was updated successfully, but these errors were encountered: