| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 369cd4d commit 430cb31
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,12 @@ | |||
| 6 | 6 | print("Numpy imported ok") | |
| 7 | 7 | print("Your lucky number is: " + str(np.random.randint(100))) | |
| 8 | 8 | ||
| 9 | + # Numpy must be linked to the MKL. (Occasionally, a third-party package will muck up the installation | ||
| 10 | + # and numpy will be reinstalled with an OpenBLAS backing.) | ||
| 11 | + from numpy.distutils.system_info import get_info | ||
| 12 | + # This will throw an exception if the MKL is not linked correctly. | ||
| 13 | + get_info("blas_mkl") | ||
| 14 | + | ||
| 9 | 15 | import pandas as pd | |
| 10 | 16 | print("Pandas imported ok") | |
| 11 | 17 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments