Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: key "tags" not found #10

Closed
jstrube opened this issue Mar 24, 2020 · 2 comments
Closed

KeyError: key "tags" not found #10

jstrube opened this issue Mar 24, 2020 · 2 comments

Comments

@jstrube
Copy link

jstrube commented Mar 24, 2020

I'm trying to run the Gym as shown in the README, but:

julia> env = GymEnv("CartPole-v0")
ERROR: KeyError: key "tags" not found
Stacktrace:
 [1] getproperty(::PyCall.PyObject, ::String) at /home/jstrube/.julia/packages/PyCall/zqDXB/src/PyCall.jl:301
 [2] getproperty(::PyCall.PyObject, ::Symbol) at /home/jstrube/.julia/packages/PyCall/zqDXB/src/PyCall.jl:306
 [3] GymEnv(::String) at /home/jstrube/.julia/packages/Gym/QZ2GY/src/env.jl:21
 [4] top-level scope at REPL[2]:1

I'm trying this with Gym v1.1.3.

julia> versioninfo()
Julia Version 1.4.0
Commit b8e9a9ecc6 (2020-03-21 16:36 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
@jpp46
Copy link

jpp46 commented Mar 24, 2020

Try env = GymEnv("CartPole-v1")

There is no v0 for CartPole anymore it is on v1

@ozanarkancan
Copy link
Owner

Hi guys,

I fixed the error on master and will publish a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants