Closed
Description
When running this:
using GalacticOptim: AutoZygote
I get the following error:
ERROR: UndefVarError: AutoZygote not defined
Stacktrace:
[1] eval
@ .\boot.jl:360 [inlined]
[2] eval
@ .\Base.jl:39 [inlined]
[3] repleval(m::Module, code::Expr, #unused#::String)
@ VSCodeServer c:\Users\arpada\.vscode\extensions\julialang.language-julia-1.3.33\scripts\packages\VSCodeServer\src\repl.jl:157
[4] (::VSCodeServer.var"#69#71"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
@ VSCodeServer c:\Users\arpada\.vscode\extensions\julialang.language-julia-1.3.33\scripts\packages\VSCodeServer\src\repl.jl:123
[5] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging .\logging.jl:491
[6] with_logger
@ .\logging.jl:603 [inlined]
[7] (::VSCodeServer.var"#68#70"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
@ VSCodeServer c:\Users\arpada\.vscode\extensions\julialang.language-julia-1.3.33\scripts\packages\VSCodeServer\src\repl.jl:124
[8] #invokelatest#2
@ .\essentials.jl:708 [inlined]
[9] invokelatest(::Any)
@ Base .\essentials.jl:706
[10] macro expansion
@ c:\Users\arpada\.vscode\extensions\julialang.language-julia-1.3.33\scripts\packages\VSCodeServer\src\eval.jl:34 [inlined]
[11] (::VSCodeServer.var"#53#54")()
@ VSCodeServer .\task.jl:411
Setup:
- Julia v1.6.2
- GalacticOptim v2.0.3
- Win 10 v1909
Additional info:
- Because a few months ago the same code was working without an error, I tried it with
GalacticOptim
v1.3.0 but got the same error. - Tried it also in a new environment with only
GalactiOptim
(and its dependencies) but got the same error. using GalacticOptim: OptimizationFunction, OptimizationProblem, solve
works without an issue.
Any hunch on what might be the problem?
Metadata
Metadata
Assignees
Labels
No labels