ITADN

failed to precompile QuantumOptics

#441Closedxzfengquantphys 创建于 2025-05-13
X
xzfengquantphyscommented
Hi I am trying to install the package QuantumOptics.jl. But I failed at precompiling it. What I got is the following: >[ Info: Precompiling QuantumOptics [6e0679c1-51ea-5a7c-ac74-d61b76210b0c] ERROR: LoadError: UndefVarError: TimeDependentSum not defined Stacktrace: [1] top-level scope @ ~/.julia/packages/QuantumOptics/9lAgi/src/time_dependent_operators.jl:3 [2] include(mod::Module, _path::String) @ Base ./Base.jl:418 [3] include(x::String) @ QuantumOptics.timeevolution ~/.julia/packages/QuantumOptics/9lAgi/src/QuantumOptics.jl:18 [4] top-level scope @ ~/.julia/packages/QuantumOptics/9lAgi/src/QuantumOptics.jl:22 [5] include @ ./Base.jl:418 [inlined] [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing) @ Base ./loading.jl:1318 [7] top-level scope @ none:1 [8] eval @ ./boot.jl:373 [inlined] [9] eval(x::Expr) @ Base.MainInclude ./client.jl:453 [10] top-level scope @ none:1 in expression starting at /Users/xxx/.julia/packages/QuantumOptics/9lAgi/src/time_dependent_operators.jl:3 in expression starting at /Users/xxx/.julia/packages/QuantumOptics/9lAgi/src/QuantumOptics.jl:1 ERROR: Failed to precompile QuantumOptics [6e0679c1-51ea-5a7c-ac74-d61b76210b0c] to /Users/xxx/.julia/compiled/v1.7/QuantumOptics/jl_2DMDY8. Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool) @ Base ./loading.jl:1466 [3] compilecache(pkg::Base.PkgId, path::String) @ Base ./loading.jl:1410 [4] _require(pkg::Base.PkgId) @ Base ./loading.jl:1120 [5] require(uuidkey::Base.PkgId) @ Base ./loading.jl:1013 [6] require(into::Module, mod::Symbol) @ Base ./loading.jl:997 How to solve this problem? Thanks
关闭于 2025-05-13 3 条评论