JuliaPy / JuliaPy/PyCall.jl

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

Ouverte
#895 7 commentaires 9 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
1.5k
Forks
186
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par le reproducteur pyimport("matplotlib.pyplot") après avoir défini ENV["PYTHON"] sur Anaconda et recompilé PyCall ; examinez le chemin de chargement de Python de PyCall ainsi que l’échec signalé lors du chargement de la bibliothèque MKL. Le travail est terminé lorsque l’importation ne provoque plus de plantage sur macOS 10.15.7 et que le comportement pertinent de chargement de la bibliothèque est compris ou corrigé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
anaconda, matplotlib, python
Domaine
tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.