mimoralea / gym-walk

Random walk OpenAI Gym environment.
MIT License
19 stars 9 forks source link

ImportError: cannot import name 'discrete' from 'gym.envs.toy_text' #3

Closed Mercuron closed 2 years ago

Mercuron commented 2 years ago

Installed via pip Error after this command: env = gym.make('SlipperyWalkFive-v0')

mimoralea commented 2 years ago

Install gym<=0.20.

They have been making recent breaking changes.

mimoralea commented 2 years ago

I just merged a contribution that should fix this, in case you want to test that out instead.