hb_ft_font_get_ft_face error from CondaPkg installation
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- matplotlib, python
调研方向
从 PythonPlot's src/init.jl 开始,使用生成的 .CondaPkg/pixi.toml 重现首次加载。将 matplotlib init.py 的失败与之后的 Qt6Base_jll 库错误进行比较,跟踪依赖版本以及报告中显示的安装输出。完成的标准是:在全新安装 CondaPkg 后,PythonPlot 能够成功加载。
由索引模型根据 Issue 内容生成。
描述
On a fresh install of julia and PythonPlot i get the following error when trying to load it:
CondaPkg Found dependencies: /home/anton/.julia/packages/CondaPkg/lKlVY/CondaPkg.toml
CondaPkg Found dependencies: /home/anton/.julia/packages/PythonCall/5WGSP/CondaPkg.toml
CondaPkg Found dependencies: /home/anton/.julia/packages/PythonPlot/oS8x4/CondaPkg.toml
CondaPkg Resolving changes
+ libstdcxx
+ libstdcxx-ng
+ matplotlib
+ openssl
+ python
CondaPkg Initialising pixi
│ /home/anton/.julia/artifacts/4ae17cee0bd922f66b2c72bf2f01c22481a5ec19/bin/pixi
│ init
│ --format pixi
└ /home/anton/.julia/environments/v1.12/.CondaPkg
✔ Created /home/anton/.julia/environments/v1.12/.CondaPkg/pixi.toml
CondaPkg Wrote /home/anton/.julia/environments/v1.12/.CondaPkg/pixi.toml
│ [dependencies]
│ openssl = ">=3, <3.6"
│ libstdcxx = ">=3.4,<15.0"
│ libstdcxx-ng = ">=3.4,<15.0"
│ matplotlib = ">=1"
│
│ [dependencies.python]
│ channel = "conda-forge"
│ build = "*cp*"
│ version = ">=3.10,!=3.14.0,!=3.14.1,<4"
│
│ [workspace]
│ name = ".CondaPkg"
│ platforms = ["linux-64"]
│ channels = ["conda-forge"]
│ channel-priority = "strict"
└ description = "automatically generated by CondaPkg.jl"
CondaPkg Installing packages
│ /home/anton/.julia/artifacts/4ae17cee0bd922f66b2c72bf2f01c22481a5ec19/bin/pixi
│ install
└ --manifest-path /home/anton/.julia/environments/v1.12/.CondaPkg/pixi.toml
✔ The default environment has been installed.
ERROR: LoadError: InitError: Python: ImportError: /home/anton/.julia/environments/v1.12/.CondaPkg/.pixi/envs/default/lib/python3.14/site-packages/matplotlib/../../../libraqm.so.0: undefined symbol: hb_ft_font_get_ft_face
Python stacktrace:
[1] _check_versions
@ ~/.julia/environments/v1.12/.CondaPkg/.pixi/envs/default/lib/python3.14/site-packages/matplotlib/__init__.py:250
[2] <module>
@ ~/.julia/environments/v1.12/.CondaPkg/.pixi/envs/default/lib/python3.14/site-packages/matplotlib/__init__.py:265
during initialization of module PythonPlot
in expression starting at /home/anton/syscop/software/CCOptExperiments.jl/scripts/common.jl:10
Stacktrace:
[1] pythrow()
@ PythonCall.Core ~/.julia/packages/PythonCall/5WGSP/src/Core/err.jl:77
[2] errcheck
@ ~/.julia/packages/PythonCall/5WGSP/src/Core/err.jl:10 [inlined]
[3] pyimport
@ ~/.julia/packages/PythonCall/5WGSP/src/Core/builtins.jl:1474 [inlined]
[4] __init__()
@ PythonPlot ~/.julia/packages/PythonPlot/oS8x4/src/init.jl:150
[5] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1443
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1431
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}; register::Bool)
@ Base ./loading.jl:1319
[8] _include_from_serialized
@ ./loading.jl:1274 [inlined]
[9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:2115
[10] _require_search_from_serialized
@ ./loading.jl:2009 [inlined]
[11] __require_prelocked(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2627
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2493
[13] macro expansion
@ ./loading.jl:2421 [inlined]
[14] macro expansion
@ ./lock.jl:376 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2386
[16] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2362
[17] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[18] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2870
[19] _include(mapexpr::Function, mod::Module, _path::String)
@ Base ./loading.jl:2930
[20] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:307
[21] (::Base.IncludeInto)(fname::String)
@ Base ./Base.jl:308
[22] top-level scope
@ ~/syscop/software/CCOptExperiments.jl/scripts/macmpec/run_macmpec.jl:1
in expression starting at /home/anton/syscop/software/CCOptExperiments.jl/scripts/macmpec/run_macmpec.jl:1
The second time I try to use PythonPlot I get the following:
ERROR: LoadError: InitError: could not load library "/home/anton/.julia/artifacts/48d95e60ccfecd4622b42d4fbeda49b2cbc7530b/lib/libQt6DBus.so"
/home/anton/.julia/artifacts/48d95e60ccfecd4622b42d4fbeda49b2cbc7530b/lib/libQt6DBus.so: undefined symbol: _ZN14QObjectPrivateC2E16QtPrivate_6_10_2, version Qt_6_PRIVATE_API
during initialization of module Qt6Base_jll
Which seems to be something broken in the Yggdrasil build of the Qt6Base jll package.
I haven't a clue where to even start debugging this as I am not a conda (pixi, etc) user and this seems like an issue with that side.
- 主要语言
- Julia
- 星标
- 85
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaPy/PythonPlot.jl 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
JuliaPy/PythonPlot.jl#54 ·
-
难度 3/5 1-2 天 新手友好度 45/100
JuliaPy/PythonPlot.jl#53 ·
-
难度 1/5 1 小时以内 新手友好度 35/100
JuliaPy/PythonPlot.jl#52 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 20/100
JuliaPy/PythonPlot.jl#51 ·
-
难度 4/5 3-5 天 新手友好度 25/100
JuliaPy/PythonPlot.jl#50 ·
查看 JuliaPy/PythonPlot.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
SciML/DiffEqNoiseProcess.jl#342 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 72/100
oxfordcontrol/COSMO.jl#211 ·
-
documentation
难度 2/5 半天 新手友好度 65/100
维护者通常 6 天内回复
-
Out-of-place JLArray/GPU problem with VectorContinuousCallback scalar-indexes (callback cache built with CPU zeros)可能已有人在做 @ChrisRackauckas-Claude 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
SciML/OrdinaryDiffEq.jl#4813 ·
维护者通常 1 天内回复