Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

ERROR: InitError: expected package `Measurements [eff96d63]` to exist in the manifest

未關閉
#660 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
julia
領域
build-system

研究方向

在 BjetTLA 專案中使用 Julia 1.11.6,透過移除並重新加入 Measurements,然後執行 using PythonCall 來重現該失敗。比較 Project.toml 和 Manifest.toml 的狀態,並重新嘗試預編譯;當 PythonCall 在沒有 Measurements InitError 的情況下載入,且專案成功完成預編譯時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

bug
(@BjetTLA) pkg> rm Measurements
    Updating `~/.julia/environments/BjetTLA/Project.toml`
  [eff96d63] - Measurements v2.14.0
  No Changes to `~/.julia/environments/BjetTLA/Manifest.toml`

julia> using PythonCall

julia> #works fine
(@BjetTLA) pkg> add Measurements
   Resolving package versions...
      Compat entries added for Measurements
    Updating `~/.julia/environments/BjetTLA/Project.toml`
  [eff96d63] + Measurements v2.14.0
  No Changes to `~/.julia/environments/BjetTLA/Manifest.toml`
Precompiling project...
  ✗ SciMLBase → SciMLBasePythonCallExt
  ✗ BjetTLA
  0 dependencies successfully precompiled in 34 seconds. 655 already precompiled.
  2 dependencies errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

[jiling@jiling-notebook-1 BjetTLA]$ julia --project
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.6 (2025-07-09)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using PythonCall
    CondaPkg Found dependencies: /home/jiling/.julia/environments/BjetTLA/CondaPkg.toml
ERROR: InitError: expected package `Measurements [eff96d63]` to exist in the manifest (use `resolve` to populate the manifest)
Stacktrace:
  [1] pkgerror(::String, ::Vararg{String})
    @ Pkg.Types ~/.julia/juliaup/julia-1.11.6+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68
  [2] package_info
    @ ~/.julia/juliaup/julia-1.11.6+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/API.jl:56 [inlined]
  [3] #9
    @ ./none:0 [inlined]
  [4] iterate
    @ ./generator.jl:48 [inlined]
  [5] Dict{Base.UUID, Pkg.API.PackageInfo}(kv::Base.Generator{Vector{Pkg.Types.PackageSpec}, Pkg.API.var"#9#10"{Pkg.Types.EnvCache}})
    @ Base ./dict.jl:95
  [6] dict_with_eltype
    @ ./abstractdict.jl:636 [inlined]
  [7] dict_with_eltype
    @ ./abstractdict.jl:643 [inlined]
主要語言
Julia
星號
1.1k
分支
89
平均合併
2 天 15 小時
30 天內合併 PR
7

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

JuliaPy/PythonCall.jl 的其他 Issue

查看 JuliaPy/PythonCall.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

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

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