JuliaPy / JuliaPy/PythonCall.jl

Precompiling failed on raspberry pi

未关闭
#286 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
1.1k
派生
86
平均合并
1 天 22 小时
30 天内合并 PR
3

描述

```
[ Info: Precompiling PythonCall [6099a3de-0909-46bc-b1f4-468b9a2dfc0d]
CondaPkg Found dependencies: /home/pi/.julia/packages/PythonCall/B5irB/CondaPkg.toml
ERROR: InitError: MicroMamba does not support your platform
during initialization of module C
```
I get this error during precompilation. I can do `using PythonCall` no problem, but get this error when trying to import something:
```
julia> pyimport("numpy")
ERROR: UndefRefError: access to undefined reference
Stacktrace:
[1] PyUnicode_DecodeUTF8 at /home/pi/.julia/packages/PythonCall/B5irB/src/cpython/pointers.jl:290 [inlined]
[2] pystr_fromUTF8(::Ptr{UInt8}, ::Int32) at /home/pi/.julia/packages/PythonCall/B5irB/src/concrete/str.jl:1
[3] pystr_fromUTF8 at /home/pi/.julia/packages/PythonCall/B5irB/src/concrete/str.jl:2 [inlined]
[4] pystr at /home/pi/.julia/packages/PythonCall/B5irB/src/concrete/str.jl:10 [inlined]
[5] Py at /home/pi/.julia/packages/PythonCall/B5irB/src/Py.jl:138 [inlined]
[6] macro expansion at /home/pi/.julia/packages/PythonCall/B5irB/src/Py.jl:128 [inlined]
[7] pyimport(::String) at /home/pi/.julia/packages/PythonCall/B5irB/src/concrete/import.jl:11
[8] top-level scope at REPL[15]:1
```

I get that this package is probably not made with the RPi in mind. But would it be possible to support it?

Version info:
```
julia> versioninfo()
Julia Version 1.5.3
Platform Info:
OS: Linux (arm-linux-gnueabihf)
CPU: unknown
WORD_SIZE: 32
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, cortex-a72)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
JULIA_CONDAPKG_BACKEND = Null
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。