Skip to content

Commit ec4c692

Browse files
committed
Mention expected path in Python site-hooks sanity check
1 parent 917cea3 commit ec4c692

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
@@ -716,7 +716,8 @@ def _sanity_check_ebpythonprefixes(self):
716716
try:
717717
base_prefix_idx = paths.index(base_site_packages_path)
718718
except ValueError:
719-
raise EasyBuildError("The Python install path was not added to sys.path (%s)", paths)
719+
raise EasyBuildError("The Python install path (%s) was not added to sys.path (%s)",
720+
base_site_packages_path, paths)
720721
try:
721722
eb_prefix_idx = paths.index(temp_site_packages_path)
722723
except ValueError:

0 commit comments

Comments
 (0)