JuliaPy / JuliaPy/PythonCall.jl

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

未關閉
#431 11 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Julia
星號
1.1k
分支
86
平均合併
1 天 22 小時
30 天內合併 PR
3

描述

## 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
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。