JuliaPy / JuliaPy/PythonCall.jl

`ERROR: Python: ImportError: libspqr.so.2: undefined symbol: cholmod_l_metis`

Đang mở
#431 11 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Julia
Star
1.1k
Fork
86
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
3

Mô tả

## Python
```python
$ /cvmfs/icecube.opensciencegrid.org/py3-v4.1.1/RHEL_7_x86_64/bin/python3
Python 3.7.5 (default, Jul 24 2020, 21:48:49)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import photospline
>>>
```

## PythonCall.jl

```bash
$ env JULIA_CONDAPKG_BACKEND=Null JULIA_PYTHONCALL_EXE=/cvmfs/icecube.opensciencegrid.org/py3-v4.1.1/RHEL_7_x86_64/bin/python3 julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.9.4 (2023-11-14)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
```
```julia
julia> using PythonCall

julia> pyimport("math")
Python:

julia> pyimport("photospline")
ERROR: Python: ImportError: /cvmfs/icecube.opensciencegrid.org/py3-v4.1.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-9.2.0spack/suite-sparse-5.2.0-d7wcgqk77zldo6ndrjuvujv2xvgudsel/lib/libspqr.so.2: undefined symbol: cholmod_l_metis
Python stacktrace: none
Stacktrace:
[1] pythrow()
@ PythonCall ~/.julia/packages/PythonCall/wXfah/src/err.jl:94
[2] errcheck
@ ~/.julia/packages/PythonCall/wXfah/src/err.jl:10 [inlined]
[3] pyimport(m::String)
@ PythonCall ~/.julia/packages/PythonCall/wXfah/src/concrete/import.jl:11
[4] top-level scope
@ REPL[3]:1
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.