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

TypeError: load() got an unexpected keyword argument 'setting_kwargs' #4

Open
007lbx opened this issue Mar 11, 2024 · 2 comments
Open

Comments

@007lbx
Copy link

007lbx commented Mar 11, 2024

Traceback (most recent call last):
File "src/train.py", line 150, in
main(args)
File "src/train.py", line 50, in main
mode='train'
File "/home/antonioricciardi/projects/dmcontrol-generalization-benchmark/src/env/wrappers.py", line 48, in make_env
background_dataset_paths=paths
File "/home/antonioricciardi/projects/dmcontrol-generalization-benchmark/src/env/dmc2gym/dmc2gym/init.py", line 64, in make
return gym.make(env_id)
File "/home/antonioricciardi/anaconda3/envs/dmcgb_orig/lib/python3.7/site-packages/gym/envs/registration.py", line 145, in make
return registry.make(id, **kwargs)
File "/home/antonioricciardi/anaconda3/envs/dmcgb_orig/lib/python3.7/site-packages/gym/envs/registration.py", line 90, in make
env = spec.make(kwargs)
File "/home/antonioricciardi/anaconda3/envs/dmcgb_orig/lib/python3.7/site-packages/gym/envs/registration.py", line 60, in make
env = cls(
_kwargs)
File "/home/antonioricciardi/projects/dmcontrol-generalization-benchmark/src/env/dmc2gym/dmc2gym/wrappers.py", line 90, in init
setting_kwargs=setting_kwargs
TypeError: load() got an unexpected keyword argument 'setting_kwargs'

Have any ideas of how I can solve this? Thank you!

@DavidBert
Copy link
Collaborator

Hi,

This seems to come from a different version either of Gym or Mujoco.

@007lbx
Copy link
Author

007lbx commented Mar 25, 2024

I have installed mujoco 200 and gym==0.19.0.

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

2 participants