TypeError: load() got an unexpected keyword argument 'setting_kwargs'
Closed this issue · 2 comments
tejassp2002 commented
Hi @nicklashansen, when I ran the following command
python3 src/train.py \
--algorithm svea \
--seed 0
I got the following error -
File "src/train.py", line 150, in <module>
main(args)
File "src/train.py", line 50, in main
mode='train'
File "/home/tejas/github/dmcontrol-generalization-benchmark/src/env/wrappers.py", line 48, in make_env
background_dataset_paths=paths
File "/home/tejas/github/dmcontrol-generalization-benchmark/src/env/dmc2gym/dmc2gym/__init__.py", line 64, in make
return gym.make(env_id)
File "/home/tejas/anaconda3/envs/dmcgb/lib/python3.7/site-packages/gym/envs/registration.py", line 235, in make
return registry.make(id, **kwargs)
File "/home/tejas/anaconda3/envs/dmcgb/lib/python3.7/site-packages/gym/envs/registration.py", line 129, in make
env = spec.make(**kwargs)
File "/home/tejas/anaconda3/envs/dmcgb/lib/python3.7/site-packages/gym/envs/registration.py", line 90, in make
env = cls(**_kwargs)
File "/home/tejas/github/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'
I'm using latest version of Mujoco i.e. 2.1.0. Seems to me like this error is in dmc2gym
but I'm unable to resolve it.
Thanks!
tejassp2002 commented
Nevermind, I didn't install dm_control
properly. Also, found out this library needs Mujoco 2.0.0.
guangnianyuji commented
I meet the same error,can you tell me how to install dm_control properly?THANKS!!!