┌ Warning: Error requiring Zygote from SparseDiffTools
│ exception =
│ LoadError: ArgumentError: Package SparseDiffTools does not have Zygote 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 SparseDiffTools checked out for development and have
│ added Zygote 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 SparseDiffTools
│ Stacktrace:
...
│ in expression starting at C:\Users\mstie.julia\packages\SparseDiffTools\exnrN\ext\SparseDiffToolsZygote.jl:1
└ @ Requires C:\Users\mstie.julia\packages\Requires\Z8rfN\src\require.jl:51
The
Zygote
extension in the current version ofSparseDiffTools (v2.4.0)
causeLoadError
when used with Julia 1.8.5:MWE:
Project.toml
Loading
Seems the error is caused by the
import
statement