-
Notifications
You must be signed in to change notification settings - Fork 186
Description
when I run "from libero.libero.envs import OffScreenRenderEnv, SubprocVectorEnv, DummyVectorEnv" it has an error
[robosuite WARNING] No private macro file found! (macros.py:53)
[robosuite WARNING] It is recommended to use a private macro file (macros.py:54)
[robosuite WARNING] To setup, run: python /home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/scripts/setup_macros.py (macros.py:55)
Traceback (most recent call last):
File "", line 1, in
File "/home/zhangxinyue/LIBERO/libero/libero/envs/init.py", line 1, in
from .bddl_base_domain import TASK_MAPPING
File "/home/zhangxinyue/LIBERO/libero/libero/envs/bddl_base_domain.py", line 3, in
import robosuite.utils.transform_utils as T
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/init.py", line 1, in
from robosuite.environments.base import make
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/environments/init.py", line 1, in
from .base import REGISTERED_ENVS, MujocoEnv
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/environments/base.py", line 12, in
from robosuite.utils.binding_utils import MjRenderContextOffscreen, MjSim
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/utils/binding_utils.py", line 58, in
from robosuite.renderers.context.egl_context import EGLGLContext as GLContext
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/robosuite/renderers/context/egl_context.py", line 32, in
from mujoco.egl import egl_ext as EGL
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/mujoco/egl/init.py", line 31, in
from mujoco.egl import egl_ext as EGL
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/mujoco/egl/egl_ext.py", line 27, in
from OpenGL import EGL
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/OpenGL/EGL/init.py", line 2, in
from OpenGL.raw.EGL._types import *
File "/home/zhangxinyue/.conda/envs/ript/lib/python3.10/site-packages/OpenGL/raw/EGL/_types.py", line 87, in
raw_eglQueryString = _p.PLATFORM.EGL.eglQueryString
AttributeError: 'NoneType' object has no attribute 'eglQueryString'
How can I solve it?
I have run "pip install -e ." in my conda env.