gym-doom icon indicating copy to clipboard operation
gym-doom copied to clipboard

Missing module gym.scoreboard.registration.py

Open ChiragAnilkumar opened this issue 7 years ago • 5 comments

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.

ChiragAnilkumar avatar Dec 28 '17 05:12 ChiragAnilkumar

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'

cuznerdexter avatar Jan 05 '18 08:01 cuznerdexter

Having the same issue, whats the workaround?

hatoshi11 avatar Jan 10 '18 10:01 hatoshi11

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

ChiragAnilkumar avatar Jan 10 '18 10:01 ChiragAnilkumar

@ChiragAnilkumar great thanks. Will give that a try.

cuznerdexter avatar Jan 11 '18 19:01 cuznerdexter

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 ?

dnyaneshwar89 avatar Apr 02 '20 21:04 dnyaneshwar89