I installed the latest version of Julia (in Windows), and I am encountering issues with the ODE package. Neither launching nor importing it resolves the problem. I initially thought the issue might be due to an incorrect reinstallation of version 1.11.6. However, all other packages are functioning properly, and everything else seems to be working well. What follows is a selection of the error messages I receive. Am I doing something wrong? Is there a way to fix this?
julia> import Pkg; Pkg.add(“OrdinaryDiffEq”)
**** some stuff***
✗ OrdinaryDiffEqRosenbrock
✗ OrdinaryDiffEqDefault
✗ OrdinaryDiffEq
0 dependencies successfully precompiled in 21 seconds. 393 already precompiled.
3 dependencies errored.
julia> using OrdinaryDiffEq
Precompiling OrdinaryDiffEq…
Info Given OrdinaryDiffEq was explicitly requested, output will be shown live
WARNING: could not import OrdinaryDiffEqCore.recursivefill! into OrdinaryDiffEq
*** lots of stuff follows****
ERROR: LoadError: UndefVarError: MacroTools
not defined in OrdinaryDiffEqRosenbrock
ERROR: LoadError: Failed to precompile OrdinaryDiffEqRosenbrock [43230ef6-c299-4910-a778-202eb28ce4ce] to “C:\Users\gmarc\.julia\compiled\v1.11\OrdinaryDiffEqRosenbrock\jl_2FF5.tmp”.
✗ OrdinaryDiffEqRosenbrock
✗ OrdinaryDiffEqDefault
✗ OrdinaryDiffEq
0 dependencies successfully precompiled in 19 seconds. 238 already precompiled.
ERROR: The following 1 direct dependency failed to precompile: OrdinaryDiffEq
Failed to precompile OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed] to “C:\Users\gmarc\.julia\compiled\v1.11\OrdinaryDiffEq\jl_2382.tmp”.
WARNING: could not import OrdinaryDiffEqCore.recursivefill! into OrdinaryDiffEq
ERROR: LoadError: UndefVarError: MacroTools
not defined in OrdinaryDiffEqRosenbrock
ERROR: LoadError: Failed to precompile OrdinaryDiffEqRosenbrock [43230ef6-c299-4910-a778-202eb28ce4ce] to “C:\Users\gmarc\.julia\compiled\v1.11\OrdinaryDiffEqRosenbrock\jl_2FF5.tmp”.