The below is your example code, but I got problem after run it.
import gym
import gridworld
from gridworld.tasks import DUMMY_TASK
env = gym.make('IGLUGridworld-v0')
env.set_task(DUMMY_TASK)
done = False
obs = env.reset()
while not done:
action = env.action_space.sample()
obs, reward, done, info = env.step(action)
I got the error message : ContextException: Could not create GL context
my python version is 3.7
The below is your example code, but I got problem after run it.
I got the error message : ContextException: Could not create GL context
my python version is 3.7