Skip to content

Commit 0887b2a

Browse files
authored
Merge pull request #3957 from Flamefire/20251014103825_new_pr_python
Mention expected path in Python site-hooks sanity check
2 parents 3fa0df7 + ec4c692 commit 0887b2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/easyblocks/p/python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,8 @@ def _sanity_check_ebpythonprefixes(self):
803803
try:
804804
base_prefix_idx = paths.index(base_site_packages_path)
805805
except ValueError:
806-
raise EasyBuildError("The Python install path was not added to sys.path (%s)", paths)
806+
raise EasyBuildError("The Python install path (%s) was not added to sys.path (%s)",
807+
base_site_packages_path, paths)
807808
try:
808809
eb_prefix_idx = paths.index(temp_site_packages_path)
809810
except ValueError:

0 commit comments

Comments
 (0)