这是indexloc提供的服务,不要输入任何密码
Skip to content

Installation issue macOS(Intel) in the case of PyCall.conda is true #71

@terasakisatoshi

Description

@terasakisatoshi

#48 (linux installation)

It seems there is a similar issue that happens on macOS (Intel) ʅ(◞‿◟)ʃ

u               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.2 (2022-09-29)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using PyCall

julia> PyCall.conda
true

julia> pyimport("scipy")
INTEL MKL ERROR: dlopen(/Users/terasakisatoshi/.julia/conda/3/lib/libmkl_intel_thread.1.dylib, 0x0009): Library not loaded: '@rpath/libiomp5.dylib'
  Referenced from: '/Users/terasakisatoshi/.julia/conda/3/lib/libmkl_intel_thread.1.dylib'
  Reason: tried: '/Applications/Julia-1.8.app/Contents/Resources/julia/bin/../lib/libiomp5.dylib' (no such file), '/usr/local/lib/libiomp5.dylib' (no such file), '/usr/lib/libiomp5.dylib' (no such file).
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.1.dylib.

"'/usr/lib/libiomp5.dylib' (no such file)"

Ref JuliaPy/PyCall.jl#895

So far I have no idea how to avoid the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions