You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I found out that gridworld doesn't get installed, so I installed it manually with cd gridworld && pip install -e .
Now when I try to run the example code, I get this error:
Traceback (most recent call last):
File "main.py", line 17, in <module>
obs, reward, done, info = env.step(action)
File "/home/federima/miniconda3/envs/gridworld_env/lib/python3.7/site-packages/gym/wrappers/order_enforcing.py", line 13, in step
observation, reward, done, info = self.env.step(action)
File "/home/federima/PycharmProjects/gridworld_test/gridworld/gridworld/env.py", line 326, in step
obs, reward, done, info = super().step(action)
File "/home/federima/miniconda3/envs/gridworld_env/lib/python3.7/site-packages/gym/core.py", line 280, in step
return self.env.step(action)
File "/home/federima/PycharmProjects/gridworld_test/gridworld/gridworld/env.py", line 290, in step
synthetic_grid = self.grid - self._synthetic_init_grid
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
The text was updated successfully, but these errors were encountered:
fmalato
changed the title
pyglet render showing no error but black screen
AttributeError: 'GridWorld' object has no attribute '_synthetic_task'
Oct 21, 2022
fmalato
changed the title
AttributeError: 'GridWorld' object has no attribute '_synthetic_task'
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Oct 21, 2022
I installed the environment as specified in the
README.md
file, using conda:Then I found out that
gridworld
doesn't get installed, so I installed it manually withcd gridworld && pip install -e .
Now when I try to run the example code, I get this error:
The text was updated successfully, but these errors were encountered: