openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.87k stars 815 forks source link

"GLEW initialization error: Missing GL version" on Windows 10 #545

Open maple52046 opened 4 years ago

maple52046 commented 4 years ago

Hi,

I'm a new user of Mujoco, I want to run a python program with mujoco_py on Windows 10:

# model = xxx
sim = mujoco_py.MjSim(model)
sim.render(width=32, height=32, camera_name="birdview")

And I got an error when the render function is running:

ERROR: GLEW initialization error: Missing GL version

Here are the software version:

And Python packages:

mujoco-py==2.0.2.0
PyOpenGL==3.1.5

The simulate.exe of Mujoco is worked. So I think Mujoco and mujoco-py are installed well.

How can I fix this issue?

I've also tried Mujoco 200, but it's the same situation.

Niels-Sch commented 3 years ago

Did you find a solution?

maple52046 commented 3 years ago

Unfortunately, not yet. We just move the development env to Linux.

Yiwen233 commented 2 years ago

Sad to use mojoco on windows..