Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so

前端 未结 12 2076
时光取名叫无心
时光取名叫无心 2021-01-30 00:27

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

12条回答
  •  广开言路
    2021-01-30 00:37

    All the solutions provided above did not work for me, but I found a good compromise:

    for someone who has the same error and want's to keep Anaconda on his computer, and steel use mkl for (numpy and scipy) good process performance, the solution I propose:

    Edit your .bashrc file.

    Look for something like export PATH="/home/anaconda2/bin:$PATH" in the file.

    Put a # at the beginning to comment it from the script: #export PATH="/home/anaconda2/bin:$PATH"

    Open a new terminal and you should be running the base python installation.

    It worked for me, hope it will be helpfull.

提交回复
热议问题