AssertionError: The environment must specify an observation space.
DrHoofman opened this issue · 2 comments
tried to start and get the following:
Screenloglevel: 20 INFO - Initializing program Traceback (most recent call last): File "main.py", line 255, in <module> command_line_parser() File "main.py", line 65, in command_line_parser runner.random_agents() File "main.py", line 107, in random_agents self.env = gym.make(env_name, initial_stacks=self.stack, render=self.render) File "/Users/stefanschumm/anaconda3/envs/neuron_poker/lib/python3.7/site-packages/gym/envs/registration.py", line 669, in make env = PassiveEnvChecker(env) File "/Users/stefanschumm/anaconda3/envs/neuron_poker/lib/python3.7/site-packages/gym/wrappers/env_checker.py", line 26, in __init__ ), "The environment must specify an observation space. https://www.gymlibrary.dev/content/environment_creation/" AssertionError: The environment must specify an observation space. https://www.gymlibrary.dev/content/environment_creation/
What I have to do to get it running?
gym==0.23.0
pyglet==1.5.11
works for me