ppaquette / gym-doom

Gym - Doom environments based on VizDoom.
102 stars 31 forks source link

Missing module gym.scoreboard.registration.py #25

Open ChiragAnilkumar opened 6 years ago

ChiragAnilkumar commented 6 years ago

In gym-doom/ppaquette_gym_doom/init.py there is a line of code which imports add_group and add_task from gym.scoreboard.registration. I had raised this issue in openai/gym repo, they said the website for scoreboard was deprecated and hence the file was removed as there was no backend. So please provide instructions to use an older version of gym or update the code to make some change.

cuznerdexter commented 6 years ago

Getting this error when trying to import into my anaconda environment. This is the error displayed in Spyder

import ppaquette_gym_doom

Traceback (most recent call last):
  File "<ipython-input-6-18277e8ec3c6>", line 1, in 
<module>
    import ppaquette_gym_doom
  File "/Users/cuznerdexter/anaconda/envs/doom_ai_py36_cpu/lib/python3.6/site-packages/ppaquette_gym_doom/__init__.py", line 2, in 
<module>

from gym.scoreboard.registration import add_task, add_group

ModuleNotFoundError: No module named 'gym.scoreboard.registration'
hatoshi11 commented 6 years ago

Having the same issue, whats the workaround?

ChiragAnilkumar commented 6 years ago

Presently either use an older version of openai/gym repo or just download the code for gym.scoreboard.registration.py from internet.

cuznerdexter commented 6 years ago

@ChiragAnilkumar great thanks. Will give that a try.

dnyaneshwar89 commented 4 years ago

Presently either use an older version of openai/gym repo or just download the code for gym.scoreboard.registration.py from internet.

can you provide link to find registration.py ?