Whenever I import numpy in any program I get this error:
Original error was: dlopen(/Users/ulto4/miniforge3/envs/python386/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): Library not loaded: @rpath/libcblas.3.dylib
Referenced from: /Users/ulto4/miniforge3/envs/python386/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-darwin.so
Reason: image not found
This happens with numpy 1.19.5 and numpy 1.21.1 on my Mac M1. The weird thing is just a month ago everything was fine. I install numpy with conda install numpy
.
Again the code doesn't matter because even if I just have import numpy
I get this error.
How would I go about fixing this?