Skip to content

Got RuntimeError when running command-line tool ale-import-roms #489

@ZM-J

Description

@ZM-J

Hi! I followed the instructions "Deep Q-Learning for Atari Breakout" from Keras. The source code requires atari-py, but it seems that ale-py, i.e., this repo, is recommended. Therefore, I pip-installed this repo, and tried running

ale-import-roms .\ROMS\

However, I got a RuntimeError:

Traceback (most recent call last):
  File "D:\Software\Anaconda\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Software\Anaconda\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Software\Anaconda\Scripts\ale-import-roms.exe\__main__.py", line 7, in <module>
  File "D:\Software\Anaconda\lib\site-packages\ale_py\scripts\import_roms.py", line 93, in main
    import_roms(romdir, datadir, pkg=args.import_from_pkg, dry_run=args.dry_run)
  File "D:\Software\Anaconda\lib\site-packages\ale_py\scripts\import_roms.py", line 25, in import_roms
    rom = ale_py.ALEInterface.isSupportedROM(path)
RuntimeError

I got the ROMs in the Atari 2600 VCS ROM Collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions