Skip to content

Commit

Permalink
Improve import error message
Browse files Browse the repository at this point in the history
  • Loading branch information
asistradition committed Dec 15, 2023
1 parent 2c02890 commit 370b1ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sparse_dot_mkl/_mkl_interface/_load_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def mkl_library():
except IMPORT_ERRORS as err:
raise ImportError(
"Unable to load the MKL libraries through "
"libmkl_rt. Try setting $LD_LIBRARY_PATH. " + str(err)
"libmkl_rt. Try setting $LD_LIBRARY_PATH to the "
"LD library path or $MKL_RT to the libmkl_rt.so library "
" file directly. " + str(err)
)

return _libmkl

0 comments on commit 370b1ab

Please sign in to comment.