First:
cd /path/to/cloned/WorldDynamics.jl
julia
julia> ]add WorldDynamics
ERROR: ParseError:
# Error @ REPL[1]:1:1
]add WorldDynamics
╙ ── unexpected `]`
Stacktrace:
[1] top-level scope
@ none:1
That was easy to fix (but the instruction should be updated):
cd /path/to/cloned/WorldDynamics.jl
julia --project
Now the model can be used as instructed in the README (only the first time. please see below):
but then:
World3.fig_7()
ERROR: ArgumentError: Any[dr₊pop(1900)] are either missing from the variable map or missing from the system's unknowns/parameters list.
(a *lot* of printouts omitted!)
Julia version
I am using julia-1.10.5 on Linux Ubuntu 24.04 LTS. I downloaded and unpack julia-1.10.5-linux-x86_64.tar.gz.
It is possible that the version I use (julia-1.10.5) incompatible, but then the supported Julia version should be documented. And/or preferably, the model should be updated for the latest Julia version.
Subsequent attempts
When I exit Julia and try again:
using WorldDynamics
ERROR: The following 6 direct dependencies failed to precompile:
(a lot of printouts omitted!)
This can be "fixed" by clearing ~/.julia (or $JULIA_DEPOT_PATH), but that should not be necessary.
First:
That was easy to fix (but the instruction should be updated):
Now the model can be used as instructed in the README (only the first time. please see below):
but then:
Julia version
I am using
julia-1.10.5on Linux Ubuntu 24.04 LTS. I downloaded and unpack julia-1.10.5-linux-x86_64.tar.gz.It is possible that the version I use (
julia-1.10.5) incompatible, but then the supported Julia version should be documented. And/or preferably, the model should be updated for the latest Julia version.Subsequent attempts
When I exit Julia and try again:
This can be "fixed" by clearing
~/.julia(or $JULIA_DEPOT_PATH), but that should not be necessary.