Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing the ROM #84

Closed
simin75simin opened this issue May 30, 2021 · 1 comment
Closed

error installing the ROM #84

simin75simin opened this issue May 30, 2021 · 1 comment

Comments

@simin75simin
Copy link

OS: ubuntu 18.04
python: python3.6.9
atari-py: 0.3.0

i tried decompressing the rom once (producing 2 zip files) and twice (producing two folders). each time i tried python -m atari_py.import_roms . after unzipping but got the same error:

copying adventure.bin from HC ROMS/BY ALPHABET (PAL)/A-G/Adventure (PAL).bin to /home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/atari_roms/adventure.bin
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/import_roms.py", line 93, in <module>
    main()
  File "/home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/import_roms.py", line 89, in main
    import_roms(args.dirpath)
  File "/home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/import_roms.py", line 78, in import_roms
    _check_zipfile(f, save_if_matches)
  File "/home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/import_roms.py", line 23, in _check_zipfile
    process_f(innerf)
  File "/home/m/miscel/rl-play/rl-baselines-zoo/venv/lib/python3.6/site-packages/atari_py/import_roms.py", line 67, in save_if_matches
    f.seek(0)
io.UnsupportedOperation: seek

help plz.

@simin75simin
Copy link
Author

i used python3.7 in a virtualenvironment a while later and it worked. i don't know why this is the case though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant