Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e656a4e

Browse files
committed
DOC: extend sanity check message
1 parent 8eee9b7 commit e656a4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numpy/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ def _sanity_check():
212212
except AssertionError:
213213
msg = ("The current Numpy installation ({!r}) fails to "
214214
"pass simple sanity checks. This can be caused for example "
215-
"by incorrect BLAS library being linked in.")
215+
"by incorrect BLAS library being linked in, or by mixing "
216+
"package managers (pip, conda, apt, ...). Search closed "
217+
"numpy issues for similar problems.")
216218
raise RuntimeError(msg.format(__file__))
217219

218220
_sanity_check()

0 commit comments

Comments
 (0)