JuliaPy / JuliaPy/PyCall.jl

Seems not work in M1 macbook Air

Offen
#943 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I tried to make a `PyObject` from Julia array `[1, 2]` but it results in an error:

```julia
➜ FlightSims git:(add-interactive-simulator) ✗ julia -q
Activating environment at `~/.julia/dev/FlightSims/Project.toml`
(FlightSims) pkg> activate
Activating environment at `~/.julia/environments/v1.6/Project.toml`

julia> using PyCall

julia> PyObject([1, 2])
INTEL MKL ERROR: dlopen(/Users/jinrae/.julia/conda/3/lib/libmkl_intel_thread.1.dylib, 9): Library not loaded: @rpath/libiomp5.dylib
Referenced from: /Users/jinrae/.julia/conda/3/lib/libmkl_intel_thread.1.dylib
Reason: image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.1.dylib.

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the PyCall conversion in a Julia 1.6 REPL on an M1 Mac using the reported Project.toml environment. Investigate the missing libiomp5.dylib and Intel MKL loading error shown in the output. Done means PyObject([1, 2]) completes without the MKL fatal error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.