summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-07-03 10:11:42 -0700
committermattip <matti.picus@gmail.com>2018-07-04 09:03:45 -0700
commite656a4e4a6a93fb3093c77a7adbfe9a12a6c99c1 (patch)
treec6b1545593f9697d3262676bc8c12f04dffcd989
parent8eee9b7d3836b8d080b50e2dfb3ba98537a076c0 (diff)
downloadnumpy-e656a4e4a6a93fb3093c77a7adbfe9a12a6c99c1.tar.gz
DOC: extend sanity check message
-rw-r--r--numpy/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 0e269cc84..b912d2222 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -212,7 +212,9 @@ else:
except AssertionError:
msg = ("The current Numpy installation ({!r}) fails to "
"pass simple sanity checks. This can be caused for example "
- "by incorrect BLAS library being linked in.")
+ "by incorrect BLAS library being linked in, or by mixing "
+ "package managers (pip, conda, apt, ...). Search closed "
+ "numpy issues for similar problems.")
raise RuntimeError(msg.format(__file__))
_sanity_check()