diff options
author | mattip <matti.picus@gmail.com> | 2020-05-31 13:02:14 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-05-31 13:02:14 +0300 |
commit | ae59835cfc9af082bd54f6246ecd60b48fc9e4c0 (patch) | |
tree | 7a9f0afbc30e0577b9eba08a2fac290b74de5fd8 /numpy/__init__.py | |
parent | cbde47818a821ef951ca73e851579ca75d23a82b (diff) | |
download | numpy-ae59835cfc9af082bd54f6246ecd60b48fc9e4c0.tar.gz |
DOC,ENH: extend error message when Accelerate is detected
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index e6a24f0d1..1c3b11844 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -279,12 +279,11 @@ else: error_message = "{}: {}".format(w[-1].category.__name__, str(w[-1].message)) msg = ( "Polyfit sanity test emitted a warning, most likely due " - "to using a buggy Accelerate backend. " - "If you compiled yourself, " - "see site.cfg.example for information. " + "to using a buggy Accelerate backend. If you compiled " + "yourself, more information is available at " + "https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries " "Otherwise report this to the vendor " - "that provided NumPy.\n{}\n".format( - error_message)) + "that provided NumPy.\n{}\n".format(error_message)) raise RuntimeError(msg) del _mac_os_check |