Kautenja / gym-super-mario-bros

An OpenAI Gym interface to Super Mario Bros. & Super Mario Bros. 2 (Lost Levels) on The NES

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package dependences conflict?

BIGBALLON opened this issue · comments

hello, @Kautenja, thanks for your great work, there is something confuse during the installation,

when install gym-super-mario-bros, there is a error message:

ERROR: gym 0.17.2 has requirement pyglet<=1.5.0,>=1.4.0, but you'll have pyglet 1.5.7 which is incompatible.

which install the downgrade the pyglet

ERROR: nes-py 8.1.4 has requirement pyglet>=1.5.5, but you'll have pyglet 1.5.0 which is incompatible.

logs:

Successfully built nes-py gym
ERROR: gym 0.17.2 has requirement pyglet<=1.5.0,>=1.4.0, but you'll have pyglet 1.5.7 which is incompatible.
Installing collected packages: numpy, pyglet, gym, nes-py, gym-super-mario-bros
ERROR: nes-py 8.1.4 has requirement pyglet>=1.5.5, but you'll have pyglet 1.5.0 which is incompatible.
Installing collected packages: pyglet
  Found existing installation: pyglet 1.5.7
    Uninstalling pyglet-1.5.7:
      Successfully uninstalled pyglet-1.5.7
Successfully installed pyglet-1.5.0

Is that OK ?

Hi, thanks for bringing this to my attention! I don't think there was any issue with using pyglet >= 1.5.0 with gym, but that definitely isn't supported functionality, so I've fixed the version mismatch in the nes-py requirements.txt and setup.py and published the change in version 8.1.6 of nes-py. No change is needed for gym-super-mario-bros. I'd recommend running the following and reopening this issue if anything goes wrong.

pip uninstall pyglet
pip install nes-py -U

@Kautenja thanks ~~