Skip to content

ContextException: Could not create GL context #16

@ChengHSUHSU

Description

@ChengHSUHSU

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions