JuliaPy / JuliaPy/PyCall.jl

INTEL MKL ERROR: dlopen(/Users/user/opt/anaconda3/lib/libmkl_intel_thread.dylib, 9): Library not loaded: @rpath/libiomp5.dylib

Open
#895 7 comments 9 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

I'm encountering a crash of julia when trying to use PyCall.jl.

I installed anaconda then set ENV["PYTHON"] to the anaconda python, rebuild PyCall then when I try to do a simple `plt = pyimport("matplotlib.pyplot")`, Julia crashes. Here is the full error message:

```julia> plt = pyimport("matplotlib.pyplot")
INTEL MKL ERROR: dlopen(/Users/user/opt/anaconda3/lib/libmkl_intel_thread.dylib, 9): Library not loaded: @rpath/libiomp5.dylib
Referenced from: /Users/user/opt/anaconda3/lib/libmkl_intel_thread.dylib
Reason: image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib.
```

I checked the anaconda directories and libmkl_intel_thread.dylib and libiomp5.dylib are both present.

I'm running Julia 1.6.0 on macOS 10.15.7.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.