Iβm using these packages:
using JuMP, Distributions, MathProgBase, Ipopt, JuMPChance
using Gurobi
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572]
ERROR: LoadError: UndefVarError: `Grisu` not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base .\Base.jl:31
[2] top-level scope
@ C:\Users\96906\.julia\packages\JuMP\I7whV\src\writers.jl:6
[3] include(mod::Module, _path::String)
@ Base .\Base.jl:457
[4] include(x::String)
@ JuMP C:\Users\96906\.julia\packages\JuMP\I7whV\src\JuMP.jl:11
[5] top-level scope
@ C:\Users\96906\.julia\packages\JuMP\I7whV\src\JuMP.jl:947
[6] include
@ .\Base.jl:457 [inlined]
[7] 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:2049
[8] top-level scope
@ stdin:3
in expression starting at C:\Users\96906\.julia\packages\JuMP\I7whV\src\writers.jl:5
in expression starting at C:\Users\96906\.julia\packages\JuMP\I7whV\src\JuMP.jl:11
in expression starting at stdin:3
ERROR: Failed to precompile JuMP [4076af6c-e467-56ae-b986-b466b2749572] to "C:\\Users\\96906\\.julia\\compiled\\v1.9\\JuMP\\jl_88C8.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)
@ Base .\loading.jl:2294
[3] compilecache
@ .\loading.jl:2167 [inlined]
[4] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1805
[5] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1660
[6] macro expansion
@ .\loading.jl:1648 [inlined]
[7] macro expansion
@ .\lock.jl:267 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1611
[9] eval
@ .\boot.jl:370 [inlined]
[10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1903
[11] include_string(m::Module, txt::String, fname::String)
@ Base .\loading.jl:1913
[12] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\essentials.jl:819
[13] invokelatest(::Any, ::Any, ::Vararg{Any})
@ Base .\essentials.jl:816
[14] inlineeval(m::Module, code::String, code_line::Int64, code_column::Int64, file::String; softscope::Bool)
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:263
[15] (::VSCodeServer.var"#67#72"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:181
[16] withpath(f::VSCodeServer.var"#67#72"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams}, path::String)
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\repl.jl:274
[17] (::VSCodeServer.var"#66#71"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:179
[18] hideprompt(f::VSCodeServer.var"#66#71"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\repl.jl:38
[19] (::VSCodeServer.var"#65#70"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:150
[20] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging .\logging.jl:514
[21] with_logger
@ .\logging.jl:626 [inlined]
[22] (::VSCodeServer.var"#64#69"{VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:255
[23] #invokelatest#2
@ .\essentials.jl:819 [inlined]
[24] invokelatest(::Any)
@ Base .\essentials.jl:816
[25] macro expansion
@ c:\Users\96906\.vscode\extensions\julialang.language-julia-1.75.2\scripts\packages\VSCodeServer\src\eval.jl:34 [inlined]
[26] (::VSCodeServer.var"#62#63")()
@ VSCodeServer .\task.jl:514