I was going through some tutorials on SciML.ai website and for the second tutorial when I tried ] add DifferentialEquations
I get a julia.exe - Bad Image popup. It says
“C:.…julia\artifacts\f91…\bin\libTractClient.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f.”
When I click OK the precompilation continues, but the popup come back. I tried ] rm DifferentialEquations
and then adding it again with the same problem.
I am using Win 11 with Julia 1.11.6.
Edit:
Some more information
julia> err
PkgPrecompileError: The following 3 direct dependencies failed to precompile:
Optimization
Failed to precompile Optimization [7f7a1694-90dd-40f0-9382-eb1efda571ba] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\Optimization\\jl_A901.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\jakez\.julia\artifacts\7ebc9249becc8c75e679c2be48a746cf29b92ae7\bin\liblbfgsb.dll"
%1 is not a valid Win32 application.
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:119
[3] macro expansion
@ C:\Users\jakez\.julia\packages\JLLWrappers\m2Pjh\src\products\library_generators.jl:63 [inlined]
[4] __init__()
@ L_BFGS_B_jll C:\Users\jakez\.julia\packages\L_BFGS_B_jll\k0h0O\src\wrappers\x86_64-w64-mingw32-libgfortran5.jl:9
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [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:2057
[10] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[15] macro expansion
@ .\loading.jl:2314 [inlined]
[16] macro expansion
@ .\lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[18] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[19] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[21] include
@ .\Base.jl:562 [inlined]
[22] 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::String)
@ Base .\loading.jl:2881
[23] top-level scope
@ stdin:6
during initialization of module L_BFGS_B_jll
in expression starting at C:\Users\jakez\.julia\packages\LBFGSB\UZibA\src\LBFGSB.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile LBFGSB [5be7bae1-8223-5378-bac3-9e7378a2f6e6] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\LBFGSB\\jl_B04E.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include(mod::Module, _path::String)
@ Base .\Base.jl:562
[23] include(x::String)
@ Optimization C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:4
[24] top-level scope
@ C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:25
[25] include
@ .\Base.jl:562 [inlined]
[26] 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:2881
[27] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\lbfgsb.jl:1
in expression starting at C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:1
in expression starting at stdin:6
SciMLSensitivity
Failed to precompile SciMLSensitivity [1ed8b502-d754-442c-8d5d-10ac956f44a1] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\SciMLSensitivity\\jl_48E9.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\jakez\.julia\artifacts\f91afe8eb174ddc525d98c65a3e3923ec69df1ff\bin\libTracyClient.dll"
%1 is not a valid Win32 application.
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:119
[3] macro expansion
@ C:\Users\jakez\.julia\packages\JLLWrappers\m2Pjh\src\products\library_generators.jl:63 [inlined]
[4] __init__()
@ LibTracyClient_jll C:\Users\jakez\.julia\packages\LibTracyClient_jll\o3mSw\src\wrappers\x86_64-w64-mingw32.jl:9
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [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:2057
[10] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[15] macro expansion
@ .\loading.jl:2314 [inlined]
[16] macro expansion
@ .\lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[18] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[19] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[21] include
@ .\Base.jl:562 [inlined]
[22] 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::String)
@ Base .\loading.jl:2881
[23] top-level scope
@ stdin:6
during initialization of module LibTracyClient_jll
in expression starting at C:\Users\jakez\.julia\packages\Tracy\slmNc\src\Tracy.jl:3
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Tracy [e689c965-62c8-4b79-b2c5-8359227902fd] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\Tracy\\jl_5EB2.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include
@ .\Base.jl:562 [inlined]
[23] 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::String)
@ Base .\loading.jl:2881
[24] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\GPUCompiler\Ecaql\src\GPUCompiler.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile GPUCompiler [61eb1bfa-7361-4325-ad38-22787b887f55] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\GPUCompiler\\jl_5ABB.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include(mod::Module, _path::String)
@ Base .\Base.jl:562
[23] include(x::String)
@ Enzyme C:\Users\jakez\.julia\packages\Enzyme\7Bzkr\src\Enzyme.jl:1
[24] top-level scope
@ C:\Users\jakez\.julia\packages\Enzyme\7Bzkr\src\Enzyme.jl:136
[25] include
@ .\Base.jl:562 [inlined]
[26] 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::String)
@ Base .\loading.jl:2881
[27] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\Enzyme\7Bzkr\src\typetree.jl:6
in expression starting at C:\Users\jakez\.julia\packages\Enzyme\7Bzkr\src\Enzyme.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Enzyme [7da242da-08ed-463a-9acd-ee780be4f1d9] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\Enzyme\\jl_5471.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include
@ .\Base.jl:562 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\SciMLSensitivity\7zKgz\src\SciMLSensitivity.jl:1
in expression starting at stdin:6
OptimizationPolyalgorithms
Failed to precompile OptimizationPolyalgorithms [500b13db-7e66-49ce-bda4-eed966be6282] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\OptimizationPolyalgorithms\\jl_EDE1.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\jakez\.julia\artifacts\7ebc9249becc8c75e679c2be48a746cf29b92ae7\bin\liblbfgsb.dll"
%1 is not a valid Win32 application.
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl .\libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:119
[3] macro expansion
@ C:\Users\jakez\.julia\packages\JLLWrappers\m2Pjh\src\products\library_generators.jl:63 [inlined]
[4] __init__()
@ L_BFGS_B_jll C:\Users\jakez\.julia\packages\L_BFGS_B_jll\k0h0O\src\wrappers\x86_64-w64-mingw32-libgfortran5.jl:9
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base .\loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ .\loading.jl:1210 [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:2057
[10] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[12] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[13] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[15] macro expansion
@ .\loading.jl:2314 [inlined]
[16] macro expansion
@ .\lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[18] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[19] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[21] include
@ .\Base.jl:562 [inlined]
[22] 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::String)
@ Base .\loading.jl:2881
[23] top-level scope
@ stdin:6
during initialization of module L_BFGS_B_jll
in expression starting at C:\Users\jakez\.julia\packages\LBFGSB\UZibA\src\LBFGSB.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile LBFGSB [5be7bae1-8223-5378-bac3-9e7378a2f6e6] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\LBFGSB\\jl_F614.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include(mod::Module, _path::String)
@ Base .\Base.jl:562
[23] include(x::String)
@ Optimization C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:4
[24] top-level scope
@ C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:25
[25] include
@ .\Base.jl:562 [inlined]
[26] 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::String)
@ Base .\loading.jl:2881
[27] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\lbfgsb.jl:1
in expression starting at C:\Users\jakez\.julia\packages\Optimization\kOLrw\src\Optimization.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Optimization [7f7a1694-90dd-40f0-9382-eb1efda571ba] to "C:\\Users\\jakez\\.julia\\compiled\\v1.11\\Optimization\\jl_EC40.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\jakez\.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include
@ .\Base.jl:562 [inlined]
[23] 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:2881
[24] top-level scope
@ stdin:6
in expression starting at C:\Users\jakez\.julia\packages\OptimizationPolyalgorithms\5lhpw\src\OptimizationPolyalgorithms.jl:1
in expression starting at stdin:6
julia>
Any advice appreciated.