Closed KMD2 closed 4 years ago
Most likely a version issue, can you share the output of
] st
in the julia REPL?
I ran the st
command and got this error ERROR: UndefVarError: st not defined
.
Below are the versioninfo:
Julia Version 1.5.0
Commit 96786e22cc (2020-08-01 23:44 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
you have to be in package mode to run st
, use ]
to switch to package mode. Alternatively using Pkg; Pkg.status()
Oh, I see, here is the output:
Status `~/.julia/environments/v1.5/Project.toml`
[8bb6e9a1] BeliefUpdaters v0.1.2
[4b033969] DiscreteValueIteration v0.4.3
[7073ff75] IJulia v1.21.2
[d9ec5142] NamedTupleTools v0.11.0
[7f35509c] POMDPGifs v0.1.0
[08074719] POMDPModelTools v0.2.4
[355abbd5] POMDPModels v0.4.8
[182e52fb] POMDPPolicies v0.3.3
[e0d0a172] POMDPSimulators v0.3.5
[92e6a534] POMDPTesting v0.2.2
[0729bffe] POMDPToolbox v0.3.0
[a93abf59] POMDPs v0.8.4
[438e738f] PyCall v1.91.4
[3aa3ecc9] QMDP v0.1.2
[8af83fb2] QuickPOMDPs v0.2.4 `https://github.com/JuliaPOMDP/QuickPOMDPs.jl.git#master`
[de008ff0] RockSample v0.1.2 `https://github.com/JuliaPOMDP/RockSample.jl#master`
[cef570c6] SARSOP v0.5.2
[9a3f8284] Random
[cf7118a7] UUIDs
Thanks, between POMDPs 0.8 and 0.9 the function initialstate_distribution
has been replaced by initialstate
, you can either downgrade RockSample to an earlier version, or upgrade POMDPs.jl (preferred).
To upgrade POMDPs.jl you can run the following: using Pkg; Pkg.update("POMDPs")
which should install v0.9.
I will fix the version specification in this package so that this issue does not happen in future version. Could you please let me know if that fixes the issue? Thanks
Sorry, I re-read your error message and I think SARSOP should be updated as well. using Pkg; Pkg.update("SARSOP")
If you want to update everything you can just run Pkg.update()
I updated everything, it works perfectly now! Thank you very much.
Hello, I tried running the example provided in the README.md:
and I got the following error:
May you kindly assist me with this?