livey/scalable_maddpg

Module not registered

emanuelepesce opened this issue · 1 comments

When I try to run the code using main.py I got the this error:

  File "/home/USER/myprojects/scalable_maddpg/env/multiagent/__init__.py", line 11, in <module>
    max_episode_steps=100,
  File "/home/USER/.local/lib/python2.7/site-packages/gym/envs/registration.py", line 161, in register
    return registry.register(id, **kwargs)
  File "/home/USER/.local/lib/python2.7/site-packages/gym/envs/registration.py", line 154, in register
    raise error.Error('Cannot re-register id: {}'.format(id))
gym.error.Error: Cannot re-register id: MultiagentSimple-v0

I tried to install the enviroment provided, but it didn't work. Do you have any suggestions?

livey commented

The environment I use is Python 3.5. You can switch to Python3.5 and try. You can also use env.py as the environment. It is much easier and does not depend on gym.