Intel MKL FATAL ERROR

Q:
I am running a python script and I get this error:

Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
Both files are present in the anaconda2/lib directory. How can I fix this error? Thanks.

A:
if you use conda , try with two commands

conda install nomkl numpy scipy scikit-learn numexpr

conda remove mkl mkl-service

It should fix your problem

您的支持将激励我们前行!