I am getting many dependency errors when trying to run AlgebraicPetri.jl notebooks in Jupyter, I ran them succefully six months ago. Do those notebooks depend on a particular Julia kernel? I am attempting to use Julia 1.11.5
using IJulia
using AlgebraicPetri
using OrdinaryDiffEq
using Plots
[ Info: Precompiling OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed] (cache misses: wrong dep version loaded (4), incompatible header (4))
WARNING: could not import ArrayInterface.known_length into FastBroadcast
WARNING: could not import ArrayInterface.static_length into Polyester
WARNING: could not import ArrayInterface.static_step into Polyester
WARNING: could not import ArrayInterface.static_first into Polyester
WARNING: could not import ArrayInterface.StrideIndex into LayoutPointers
WARNING: could not import ArrayInterface.offsets into LayoutPointers
ERROR: LoadError: UndefVarError: axes_types
not defined in ArrayInterface
Stacktrace:
I am working with the IoTVolt.ipynb notebook
I can’t find that particular notebook in the repository. Could you provide a direct link? In general though, the AlgebraicJulia organization has been updating some of the base packages such as Catlab.jl so you may need to make sure that all of the dependencies are fully up to date.
I’ve had better luck using the Julia language support in VScode. All cells ran to completion.
The notebook is here: