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

Newest gym doesn't work #6

Open
Yougmark opened this issue Nov 10, 2019 · 0 comments
Open

Newest gym doesn't work #6

Yougmark opened this issue Nov 10, 2019 · 0 comments

Comments

@Yougmark
Copy link

See the error:

~/VerifAI/examples/openai_gym/cartpole$ python3 cartpole_simulation.py
Traceback (most recent call last):
  File "cartpole_simulation.py", line 1, in <module>
    from verifai.simulators.openai_gym.baselines_task import *
  File "/home/yang/.local/lib/python3.6/site-packages/verifai/simulators/openai_gym/baselines_task.py", l
ine 11, in <module>
    from baselines.run import *
  File "/home/yang/.local/lib/python3.6/site-packages/scenic/syntax/translator.py", line 417, in hooked_i
mport
    module = original_import(*args, **kwargs)
  File "/home/yang/openai/baselines/baselines/run.py", line 12, in <module>
    from baselines.common.cmd_util import common_arg_parser, parse_unknown_args, make_vec_env, make_env
  File "/home/yang/.local/lib/python3.6/site-packages/scenic/syntax/translator.py", line 417, in hooked_i
mport
    module = original_import(*args, **kwargs)
  File "/home/yang/openai/baselines/baselines/common/cmd_util.py", line 12, in <module>
    from gym.wrappers import FlattenDictWrapper
ImportError: cannot import name 'FlattenDictWrapper'

But gym 0.14 works fine.

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

1 participant