Problem while installing DifferentialEquations

I am using the DifferentialEquations package I am inside an environment, yesterday it work perfectly today it does not. Which is very weird. When I run the using DifferentialEquations it gives me this error :

DifferentialEquations
Info Given DifferentialEquations was explicitly requested, output will be shown live
WARNING: Method definition (::Type{Base.MPFR.BigFloat})(Base.Irrational{:invsqrt2π}) in module IrrationalConstants at irrationals.jl:223 overwritten in module StatsFuns on the same line (check for duplicate calls to include).
ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
✗ Adapt → AdaptStaticArraysExt
? Distributions
? DiffEqNoiseProcess
✗ SteadyStateDiffEq
? DiffEqFinancial
? StochasticDiffEq
? MultiScaleArrays
? DifferentialEquations
0 dependencies successfully precompiled in 34 seconds. 131 already precompiled.
6 dependencies failed but may be precompilable after restarting julia
6 dependencies had output during precompilation:
┌ StochasticDiffEq
│ ERROR: LoadError: ArgumentError: Package AdaptStaticArraysCoreExt does not have Adapt in its dependencies:
│ - You may have a partially installed environment. Try Pkg.instantiate()
│ to ensure all packages in the environment are installed.
│ - Or, if you have AdaptStaticArraysCoreExt checked out for development and have
│ added Adapt as a dependency but haven’t updated your primary
│ environment’s manifest file, try Pkg.resolve().
│ - Otherwise you may need to report an issue with AdaptStaticArraysCoreExt
│ Stacktrace:
│ [1] macro expansion
│ @ ./loading.jl:1776 [inlined]
│ [2] macro expansion
│ @ ./lock.jl:267 [inlined]
│ [3] __require(into::Module, mod::Symbol)
│ @ Base ./loading.jl:1753
│ [4] #invoke_in_world#3
│ @ ./essentials.jl:926 [inlined]
│ [5] invoke_in_world
│ @ ./essentials.jl:923 [inlined]
│ [6] require(into::Module, mod::Symbol)
│ @ Base ./loading.jl:1746
│ [7] include
│ @ ./Base.jl:495 [inlined]
│ [8] 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:2222
│ [9] top-level scope
│ @ stdin:3
│ in expression starting at /home/marta/.julia/packages/Adapt/Ur60R/ext/AdaptStaticArraysExt.jl:1
│ in expression starting at stdin:3
│ ┌ Error: Error during loading of extension AdaptStaticArraysExt of Adapt, use Base.retry_load_extensions() to retry.
│ │ exception =
│ │ 1-element ExceptionStack:
│ │ Failed to precompile AdaptStaticArraysExt [e1699a77-9e31-5da8-bb3e-0a796f95f0a0] to “/home/marta/.julia/compiled/v1.10/AdaptStaticArraysExt/jl_oqeB7G”.
│ │ 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:2468
│ │ [3] compilecache
│ │ @ ./loading.jl:2340 [inlined]
│ │ [4] (::Base.var"#968#969"{Base.PkgId})()
│ │ @ Base ./loading.jl:1974
│ │ [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
│ │ @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
│ │ [6] #mkpidlock#6
│ │ @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
│ │ [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
│ │ @ FileWatching.Pidfile ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
│ │ [8] #invokelatest#2
│ │ @ ./essentials.jl:894 [inlined]
│ │ [9] invokelatest
│ │ @ ./essentials.jl:889 [inlined]
│ │ [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
│ │ @ Base ./loading.jl:2983
│ │ [11] maybe_cachefile_lock
│ │ @ ./loading.jl:2980 [inlined]
│ │ [12] _require(pkg::Base.PkgId, env::Nothing)
│ │ @ Base ./loading.jl:1970
│ │ [13] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│ │ @ Base ./loading.jl:1812
│ │ [14] #invoke_in_world#3
│ │ @ ./essentials.jl:926 [inlined]
│ │ [15] invoke_in_world
│ │ @ ./essentials.jl:923 [inlined]
│ │ [16] _require_prelocked
│ │ @ ./loading.jl:1803 [inlined]
│ │ [17] _require_prelocked
│ │ @ ./loading.jl:1802 [inlined]
│ │ [18] run_extension_callbacks(extid::Base.ExtensionId)
│ │ @ Base ./loading.jl:1295
│ │ [19] run_extension_callbacks(pkgid::Base.PkgId)
│ │ @ Base ./loading.jl:1330
│ │ [20] run_package_callbacks(modkey::Base.PkgId)
│ │ @ Base ./loading.jl:1164
│ │ [21] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
│ │ @ Base ./loading.jl:1487
│ │ [22] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)

I do not know why this is happening. I have check that I am in the environment that I have created yesterday.
If I rerun the using DifferentialEquations after the error it works. But there is another issue with the function ODEProblem
ERROR: UndefVarError: ODEProblem not defined

Do you know what its the problem?

Is your Julia download one provided by a Linux repository that built it wrong, or was it downloaded from Download Julia ? This looks like your MPFR build is bad, which wouldn’t be true with the binaries you get from the Julia website.

I installed it using the code in the website:
wget https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.2-linux-x86_64.tar.gz
tar zxvf julia-1.10.2-linux-x86_64.tar.gz

I am using visual code to run it.

I have been with these error for 2 weeks., reinstalled visual code and julia 30 times.
The problem is with AdaptStatusArraysCoreExt

ERROR: LoadError: ArgumentError: Package AdaptStaticArraysCoreExt does not have Adapt in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have AdaptStaticArraysCoreExt checked out for development and have
  added Adapt as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with AdaptStaticArraysCoreExt
Stacktrace:
[1] macro expansion
   @ ./loading.jl:1776 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] __require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1753
 [4] #invoke_in_world#3
   @ ./essentials.jl:926 [inlined]
 [5] invoke_in_world
   @ ./essentials.jl:923 [inlined]
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1746
 [7] include
   @ ./Base.jl:495 [inlined]
 [8] 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:2222
 [9] top-level scope
   @ stdin:3
in expression starting at /home/marta/.julia/packages/Adapt/Ur60R/ext/AdaptStaticArraysExt.jl:1
in expression starting at stdin:3
  ✗ Adapt → AdaptStaticArraysExt
  0 dependencies successfully precompiled in 2 seconds. 6 already precompiled.
[ Info: Precompiling AdaptStaticArraysExt [e1699a77-9e31-5da8-bb3e-0a796f95f0a0]
ERROR: LoadError: ArgumentError: Package AdaptStaticArraysCoreExt does not have Adapt in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have AdaptStaticArraysCoreExt checked out for development and have
  added Adapt as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with AdaptStaticArraysCoreExt
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1776 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] __require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1753
 [4] #invoke_in_world#3
   @ ./essentials.jl:926 [inlined]
 [5] invoke_in_world
   @ ./essentials.jl:923 [inlined]
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1746
 [7] include
   @ ./Base.jl:495 [inlined]
 [8] 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:2222
 [9] top-level scope
   @ stdin:3
in expression starting at /home/marta/.julia/packages/Adapt/Ur60R/ext/AdaptStaticArraysExt.jl:1
in expression starting at stdin:3
┌ Error: Error during loading of extension AdaptStaticArraysExt of Adapt, use `Base.retry_load_extensions()` to retry.
│   exception =
│    1-element ExceptionStack:
│    Failed to precompile AdaptStaticArraysExt [e1699a77-9e31-5da8-bb3e-0a796f95f0a0] to "/home/marta/.julia/compiled/v1.10/AdaptStaticArraysExt/jl_tL5iop".
│    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:2468
│      [3] compilecache
│        @ ./loading.jl:2340 [inlined]
│      [4] (::Base.var"#968#969"{Base.PkgId})()
│        @ Base ./loading.jl:1974
│      [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
│        @ FileWatching.Pidfile ~/julia-1.10.3/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93
│      [6] #mkpidlock#6
│        @ ~/julia-1.10.3/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]
│      [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
│        @ FileWatching.Pidfile ~/julia-1.10.3/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111
│      [8] #invokelatest#2
│        @ ./essentials.jl:894 [inlined]
│      [9] invokelatest
│        @ ./essentials.jl:889 [inlined]
│     [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
│        @ Base ./loading.jl:2983
│     [11] maybe_cachefile_lock
│        @ ./loading.jl:2980 [inlined]
│     [12] _require(pkg::Base.PkgId, env::Nothing)
│        @ Base ./loading.jl:1970
│     [13] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│        @ Base ./loading.jl:1812
│     [14] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│     [15] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│     [16] _require_prelocked
│        @ ./loading.jl:1803 [inlined]
│     [17] _require_prelocked
│        @ ./loading.jl:1802 [inlined]
│     [18] run_extension_callbacks(extid::Base.ExtensionId)
│        @ Base ./loading.jl:1295
│     [19] run_extension_callbacks(pkgid::Base.PkgId)
│        @ Base ./loading.jl:1330
│     [20] run_package_callbacks(modkey::Base.PkgId)
│        @ Base ./loading.jl:1164
│     [21] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
│        @ Base ./loading.jl:1487
│     [22] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
│        @ Base ./loading.jl:1574
│     [23] _require(pkg::Base.PkgId, env::String)
│        @ Base ./loading.jl:1938
│     [24] __require_prelocked(uuidkey::Base.PkgId, env::String)
│        @ Base ./loading.jl:1812
│     [25] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│     [26] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│     [27] _require_prelocked(uuidkey::Base.PkgId, env::String)
│        @ Base ./loading.jl:1803
│     [28] macro expansion
│        @ ./loading.jl:1790 [inlined]
│     [29] macro expansion
│        @ ./lock.jl:267 [inlined]
│     [30] __require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1753
│     [31] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│     [32] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│     [33] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1746
│     [34] include(mod::Module, _path::String)
│        @ Base ./Base.jl:495
│     [35] _require(pkg::Base.PkgId, env::String)
│        @ Base ./loading.jl:2014
│    --- the last 12 lines are repeated 1 more time ---
│     [48] __require_prelocked(uuidkey::Base.PkgId, env::String)
│        @ Base ./loading.jl:1812
│     [49] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│     [50] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│     [51] _require_prelocked(uuidkey::Base.PkgId, env::String)
│        @ Base ./loading.jl:1803
│     [52] macro expansion
│        @ ./loading.jl:1790 [inlined]
│     [53] macro expansion
│        @ ./lock.jl:267 [inlined]
│     [54] __require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1753
│     [55] #invoke_in_world#3
│        @ ./essentials.jl:926 [inlined]
│     [56] invoke_in_world
│        @ ./essentials.jl:923 [inlined]
│     [57] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1746
│     [58] eval
│        @ ./boot.jl:385 [inlined]
│     [59] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
│        @ Base ./loading.jl:2076
│     [60] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{})
│        @ Base ./essentials.jl:892
│     [61] invokelatest(::Any, ::Any, ::Vararg{Any})
│        @ Base ./essentials.jl:889
│     [62] inlineeval(m::Module, code::String, code_line::Int64, code_column::Int64, file::String; softscope::Bool)
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/eval.jl:263
│     [63] (::VSCodeServer.var"#69#74"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/eval.jl:181
│     [64] withpath(f::VSCodeServer.var"#69#74"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams}, path::String)
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/repl.jl:274
│     [65] (::VSCodeServer.var"#68#73"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/eval.jl:179
│     [66] hideprompt(f::VSCodeServer.var"#68#73"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/repl.jl:38
│     [67] (::VSCodeServer.var"#67#72"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/eval.jl:150
│     [68] with_logstate(f::Function, logstate::Any)
│        @ Base.CoreLogging ./logging.jl:515
│     [69] with_logger
│        @ ./logging.jl:627 [inlined]
│     [70] (::VSCodeServer.var"#66#71"{VSCodeServer.ReplRunCodeRequestParams})()
│        @ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.76.2/scripts/packages/VSCodeServer/src/eval.jl:255
│     [71] #invokelatest#2
│        @ ./essentials.jl:892 [inlined]
│     [72] invokelatest(::Any)
│        @ Base ./essentials.jl:889
└ @ Base loading.jl:1301
ERROR: LoadError: UndefVarError: `SciMLBase` not defined
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/DiffEqNoiseProcess/jSJNI/src/solve.jl:1
in expression starting at /home/marta/.julia/packages/DiffEqNoiseProcess/jSJNI/src/solve.jl:1
in expression starting at /home/marta/.julia/packages/DiffEqNoiseProcess/jSJNI/src/DiffEqNoiseProcess.jl:1
in expression starting at /home/marta/.julia/packages/DifferentialEquations/el96s/src/DifferentialEquations.jl:1

julia> import Pkg; Pkg.add("ODE")^C

julia> import Pkg; Pkg.add("AdaptStaticArraysExt")
ERROR: The following package names could not be resolved:
 * AdaptStaticArraysExt (not found in project, manifest or registry)
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
 [2] ensure_resolved(ctx::Pkg.Types.Context, manifest::Pkg.Types.Manifest, pkgs::Vector{…}; registry::Bool)
   @ Pkg.Types ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/Types.jl:1030
 [3] ensure_resolved
   @ ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/Types.jl:981 [inlined]
 [4] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…})
   @ Pkg.API ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/API.jl:267
 [5] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
   @ Pkg.API ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
 [6] add(pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.API ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/API.jl:148
 [7] add
   @ ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
 [8] add(pkg::String)
   @ Pkg.API ~/julia-1.10.3/share/julia/stdlib/v1.10/Pkg/src/API.jl:146
 [9] top-level scope
   @ REPL[4]:1
Some type information was truncated. Use `show(err)` to see complete types.

Same problem inn ubuntu and in Mac
Captura de pantalla_2024-05-02_12-09-01

What is your ]st?