Issue
I have a python script that was converted from an .ipynb notebook from Google Colab that I'm trying to run natively on my Mac running Big Sur.
When I try to run the script using python scriptname.py it gives me the following error:
NTEL MKL ERROR: dlopen(/Users/MyUser/opt/anaconda3/lib/libmkl_core.dylib, 9): image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_core.dylib.
It occurs immediately after I try to import pandas
.
I tried conda update numpy
as suggested here but the problem persists.
I wondered if I didn't have pandas installed but I did pip install pandas
and I got Requirement already satisfied
for all 6 packages.
Any help would be appreciated.
Solution
I finally found a solution for this. numpy
also gave me the same problem so I uninstalled it pip uninstall numpy
and reinstalled it pip install numpy
.
I suppose I'll have to do this with all packages as I use them, but perhaps pyenv
will provide a useful solution to my problem if. ever get it working.
Answered By - Beth Long
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.