Error when trying to use Pumas for the first time

Looks like it had trouble with the 3 packages below

And below is the entire message after loading Pumas with “using Pumas“ in Julia. Please advise.

julia> using Pumas
Info Given Pumas was explicitly requested, output will be shown live
ERROR: LoadError: SystemError: opening file "C:\\Users\\zhuang\\.julia\\packages\\Pumas\\dTCeb\\src\\Pumas.jl.1.12.4.jls": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:186
  [2] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:317
  [3] open
    @ .\iostream.jl:296 [inlined]
  [4] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:380
  [5] open(fname::String, mode::String)
    @ Base .\iostream.jl:379
  [6] open(::typeof(Base._crc32c), ::String, ::Vararg{String}; kwargs::@Kwargs{})
    @ Base .\io.jl:408
  [7] open
    @ .\io.jl:407 [inlined]
  [8] macro expansion
    @ .\loading.jl:2274 [inlined]
  [9] macro expansion
    @ .\lock.jl:376 [inlined]
 [10] _include_dependency!(dep_list::Vector{Any}, track_dependencies::Bool, mod::Module, _path::String, track_content::Bool, path_may_be_dir::Bool)
    @ Base .\loading.jl:2272
 [11] #_include_dependency#885
    @ .\loading.jl:2253 [inlined]
 [12] _include_dependency
    @ .\loading.jl:2251 [inlined]
 [13] #include_dependency#886
    @ .\loading.jl:2302 [inlined]
 [14] include_dependency(path::String)
    @ Base .\loading.jl:2301
 [15] top-level scope
    @ C:\Users\zhuang\.julia\packages\Pumas\dTCeb\src\Pumas.jl:2
 [16] include(mod::Module, _path::String)
    @ Base .\Base.jl:306
 [17] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:3024
 [18] top-level scope
    @ stdin:5
 [19] eval(m::Module, e::Any)
    @ Core .\boot.jl:489
 [20] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base .\loading.jl:2870
 [21] include_string
    @ .\loading.jl:2880 [inlined]
 [22] exec_options(opts::Base.JLOptions)
    @ Base .\client.jl:315
 [23] _start()
    @ Base .\client.jl:550
in expression starting at C:\Users\zhuang\.julia\packages\Pumas\dTCeb\src\Pumas.jl:1
in expression starting at stdin:5
  ✗ NCA
  ✗ NCA → NCADynamicQuantitiesExt
  ✗ Pumas
Precompiling Pumas finished.
  59 dependencies successfully precompiled in 317 seconds. 471 already precompiled.

ERROR: The following 3 direct dependencies failed to precompile:

NCA

Failed to precompile NCA [29142fd5-e082-4e84-b14f-4d7220ed3f6b] to "C:\\Users\\zhuang\\.julia\\compiled\\v1.12\\NCA\\jl_6BF5.tmp".
ERROR: LoadError: SystemError: opening file "C:\\Users\\zhuang\\.julia\\packages\\NCA\\TRKAV\\src\\NCA.jl.1.12.4.jls": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:186
  [2] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:317
  [3] open
    @ .\iostream.jl:296 [inlined]
  [4] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:380
  [5] open(fname::String, mode::String)
    @ Base .\iostream.jl:379
  [6] open(::typeof(Base._crc32c), ::String, ::Vararg{String}; kwargs::@Kwargs{})
    @ Base .\io.jl:408
  [7] open
    @ .\io.jl:407 [inlined]
  [8] macro expansion
    @ .\loading.jl:2274 [inlined]
  [9] macro expansion
    @ .\lock.jl:376 [inlined]
 [10] _include_dependency!(dep_list::Vector{Any}, track_dependencies::Bool, mod::Module, _path::String, track_content::Bool, path_may_be_dir::Bool)
    @ Base .\loading.jl:2272
 [11] #_include_dependency#885
    @ .\loading.jl:2253 [inlined]
 [12] _include_dependency
    @ .\loading.jl:2251 [inlined]
 [13] #include_dependency#886
    @ .\loading.jl:2302 [inlined]
 [14] include_dependency(path::String)
    @ Base .\loading.jl:2301
 [15] top-level scope
    @ C:\Users\zhuang\.julia\packages\NCA\TRKAV\src\NCA.jl:2
 [16] include(mod::Module, _path::String)
    @ Base .\Base.jl:306
 [17] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:3024
 [18] top-level scope
    @ stdin:5
 [19] eval(m::Module, e::Any)
    @ Core .\boot.jl:489
 [20] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base .\loading.jl:2870
 [21] include_string
    @ .\loading.jl:2880 [inlined]
 [22] exec_options(opts::Base.JLOptions)
    @ Base .\client.jl:315
 [23] _start()
    @ Base .\client.jl:550
in expression starting at C:\Users\zhuang\.julia\packages\NCA\TRKAV\src\NCA.jl:1
in expression starting at stdin:5
Pumas

Failed to precompile Pumas [4f2c3c20-a4ac-11e9-067b-e5872d3484cf] to "C:\\Users\\zhuang\\.julia\\compiled\\v1.12\\Pumas\\jl_236F.tmp".
ERROR: LoadError: SystemError: opening file "C:\\Users\\zhuang\\.julia\\packages\\Pumas\\dTCeb\\src\\Pumas.jl.1.12.4.jls": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:186
  [2] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:317
  [3] open
    @ .\iostream.jl:296 [inlined]
  [4] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:380
  [5] open(fname::String, mode::String)
    @ Base .\iostream.jl:379
  [6] open(::typeof(Base._crc32c), ::String, ::Vararg{String}; kwargs::@Kwargs{})
    @ Base .\io.jl:408
  [7] open
    @ .\io.jl:407 [inlined]
  [8] macro expansion
    @ .\loading.jl:2274 [inlined]
  [9] macro expansion
    @ .\lock.jl:376 [inlined]
 [10] _include_dependency!(dep_list::Vector{Any}, track_dependencies::Bool, mod::Module, _path::String, track_content::Bool, path_may_be_dir::Bool)
    @ Base .\loading.jl:2272
 [11] #_include_dependency#885
    @ .\loading.jl:2253 [inlined]
 [12] _include_dependency
    @ .\loading.jl:2251 [inlined]
 [13] #include_dependency#886
    @ .\loading.jl:2302 [inlined]
 [14] include_dependency(path::String)
    @ Base .\loading.jl:2301
 [15] top-level scope
    @ C:\Users\zhuang\.julia\packages\Pumas\dTCeb\src\Pumas.jl:2
 [16] include(mod::Module, _path::String)
    @ Base .\Base.jl:306
 [17] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:3024
 [18] top-level scope
    @ stdin:5
 [19] eval(m::Module, e::Any)
    @ Core .\boot.jl:489
 [20] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base .\loading.jl:2870
 [21] include_string
    @ .\loading.jl:2880 [inlined]
 [22] exec_options(opts::Base.JLOptions)
    @ Base .\client.jl:315
 [23] _start()
    @ Base .\client.jl:550
in expression starting at C:\Users\zhuang\.julia\packages\Pumas\dTCeb\src\Pumas.jl:1
in expression starting at stdin:5

NCADynamicQuantitiesExt

Failed to precompile NCADynamicQuantitiesExt [f1f2a2c1-374b-58df-b526-d2e714f901a2] to "C:\\Users\\zhuang\\.julia\\compiled\\v1.12\\NCADynamicQuantitiesExt\\jl_7520.tmp".
ERROR: LoadError: SystemError: opening file "C:\\Users\\zhuang\\.julia\\packages\\NCA\\TRKAV\\ext\\NCADynamicQuantitiesExt.jl.1.12.4.jls": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:186
  [2] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:317
  [3] open
    @ .\iostream.jl:296 [inlined]
  [4] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:380
  [5] open(fname::String, mode::String)
    @ Base .\iostream.jl:379
  [6] open(::typeof(Base._crc32c), ::String, ::Vararg{String}; kwargs::@Kwargs{})
    @ Base .\io.jl:408
  [7] open
    @ .\io.jl:407 [inlined]
  [8] macro expansion
    @ .\loading.jl:2274 [inlined]
  [9] macro expansion
    @ .\lock.jl:376 [inlined]
 [10] _include_dependency!(dep_list::Vector{Any}, track_dependencies::Bool, mod::Module, _path::String, track_content::Bool, path_may_be_dir::Bool)
    @ Base .\loading.jl:2272
 [11] #_include_dependency#885
    @ .\loading.jl:2253 [inlined]
 [12] _include_dependency
    @ .\loading.jl:2251 [inlined]
 [13] #include_dependency#886
    @ .\loading.jl:2302 [inlined]
 [14] include_dependency(path::String)
    @ Base .\loading.jl:2301
 [15] top-level scope
    @ C:\Users\zhuang\.julia\packages\NCA\TRKAV\ext\NCADynamicQuantitiesExt.jl:2
 [16] include(mod::Module, _path::String)
    @ Base .\Base.jl:306
 [17] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:3024
 [18] top-level scope
    @ stdin:5
 [19] eval(m::Module, e::Any)
    @ Core .\boot.jl:489
 [20] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base .\loading.jl:2870
 [21] include_string
    @ .\loading.jl:2880 [inlined]
 [22] exec_options(opts::Base.JLOptions)
    @ Base .\client.jl:315
 [23] _start()
    @ Base .\client.jl:550
in expression starting at C:\Users\zhuang\.julia\packages\NCA\TRKAV\ext\NCADynamicQuantitiesExt.jl:1
in expression starting at stdin:5

Hi @testuser87,

C:\\Users\\zhuang\\.julia\\packages\\Pumas\\dTCeb\\src\\Pumas.jl.1.12.4.jls

implies that Julia 1.12.4 is being used instead of the correct version of Julia. Can you tell me which Pumas version you are attempting to install and I’ll be able to give you more guidance based on that.

Kind regards,
Michael Hatherly

Hi Michael,

I was able to follow the other post and get it working. Thanks!

1 Like