Gym: rendering breaks after installing universe

Created on 22 May 2017  路  5Comments  路  Source: openai/gym

Hi,

I was working with Breakout-v0 alright until yesterday, but screen rendering became weird after installing openai/universe.
screenshot

I tried checking out to previous commits where universe is not used and also tried removing packages that I installed for universe

pip uninstall universe
brew uninstall libjpeg-turbo
brew uninstall golang

It still doesn't solve the issue.

Did anyone experience similar issue before?

edit) I tried making new virtual python environment and it works fine

It seems like dependent package for universe is causing the break

Most helpful comment

This downgrade worked also for me:

  • pip install atari-py==0.0.21

All 5 comments

@nolsigan

What do you mean exactly with:
"edit) I tried making new virtual python environment and it works fine"

@stefanutti

I use virtualenv and uninstalling universe from current env didn't solve the problem. So I deactivated current env, created new one, and installed packages except universe.

Then gym started to display correctly. So my guess was 'pip uninstall universe' doesn't erase all dependent packages that 'pip install universe' installed, and one of those unerased packages causes the display to break.

This downgrade worked also for me:

  • pip install atari-py==0.0.21

It is the version problem of gym.
By using pip install gym==0.10(my case) and modify environment.py :
modify: self.env = gym.make(config.env_name)
to: self.env = gym.make(config.env_name).unwrapped
It is for all games in gym

Thanks for answering this @hikirkendall, please file a new issue against atari_py if this is still happening

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhan0903 picture zhan0903  路  4Comments

tylerlekang picture tylerlekang  路  3Comments

julian-ramos picture julian-ramos  路  4Comments

lbbc1117 picture lbbc1117  路  3Comments

cpatyn picture cpatyn  路  4Comments