Open T-K-233 opened 1 year ago
What gym version are you using? gym.version.VERSION
I can't replicate this with gym v26.1
Hi,
I'm installing gym and mujoco by running pip install gym[mujoco] without version specifications. The version I see is 0.26.1.
I just tried with a new Ubuntu install, now the pip install will get me 0.26.2
, but the error still persists.
tk@TK-Avenue-Ubuntu:~/Desktop$ pip install gym[mujoco]
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: gym[mujoco] in /home/tk/.local/lib/python3.10/site-packages (0.26.2)
Requirement already satisfied: numpy>=1.18.0 in /home/tk/.local/lib/python3.10/site-packages (from gym[mujoco]) (1.23.3)
Requirement already satisfied: gym-notices>=0.0.4 in /home/tk/.local/lib/python3.10/site-packages (from gym[mujoco]) (0.0.8)
Requirement already satisfied: cloudpickle>=1.2.0 in /home/tk/.local/lib/python3.10/site-packages (from gym[mujoco]) (2.2.0)
Requirement already satisfied: imageio>=2.14.1 in /home/tk/.local/lib/python3.10/site-packages (from gym[mujoco]) (2.22.1)
Requirement already satisfied: mujoco==2.2 in /home/tk/.local/lib/python3.10/site-packages (from gym[mujoco]) (2.2.0)
Requirement already satisfied: glfw in /home/tk/.local/lib/python3.10/site-packages (from mujoco==2.2->gym[mujoco]) (2.5.5)
Requirement already satisfied: absl-py in /home/tk/.local/lib/python3.10/site-packages (from mujoco==2.2->gym[mujoco]) (1.2.0)
Requirement already satisfied: pyopengl in /home/tk/.local/lib/python3.10/site-packages (from mujoco==2.2->gym[mujoco]) (3.1.6)
Requirement already satisfied: pillow>=8.3.2 in /usr/lib/python3/dist-packages (from imageio>=2.14.1->gym[mujoco]) (9.0.1)
Describe the bug I'm using Mujoco 2.2.0. It seems that the new version now it supoprts new rendering modes (
['human', 'rgb_array', 'depth_array', 'single_rgb_array', 'single_depth_array']
), so it will generate an assertion error on supported render mode mismatch when making new environment.Code example
results in
System Info Describe the characteristic of your environment:
pip install gym
Additional context Null
Checklist