Farama-Foundation / D4RL

A collection of reference environments for offline reinforcement learning
Apache License 2.0
1.33k stars 285 forks source link

copy i copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory. #122

Open GUESSZERO4 opened 3 years ago

GUESSZERO4 commented 3 years ago

import d4rl Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message. No module named 'flow' Traceback (most recent call last): File "", line 1, in File "/home/lxy/d4rl/d4rl/init.py", line 32, in import d4rl.kitchen File "/home/lxy/d4rl/d4rl/kitchen/init.py", line 1, in from .kitchen_envs import KitchenMicrowaveKettleLightSliderV0, KitchenMicrowaveKettleBottomBurnerLightV0 File "/home/lxy/d4rl/d4rl/kitchen/kitchen_envs.py", line 5, in from d4rl.kitchen.adept_envs.franka.kitchen_multitask_v0 import KitchenTaskRelaxV1 File "/home/lxy/d4rl/d4rl/kitchen/adept_envs/franka/kitchen_multitask_v0.py", line 23, in from dm_control.mujoco import engine File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/init.py", line 18, in from dm_control.mujoco.engine import action_spec File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/engine.py", line 42, in from dm_control.mujoco import index File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/index.py", line 88, in from dm_control.mujoco.wrapper import util File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/wrapper/init.py", line 20, in from dm_control.mujoco.wrapper.core import callback_context File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/wrapper/core.py", line 29, in from dm_control.mujoco.wrapper.mjbindings import functions File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/wrapper/mjbindings/functions.py", line 17, in mjlib = util.get_mjlib() File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/dm_control/mujoco/wrapper/util.py", line 120, in get_mjlib return ctypes.cdll.LoadLibrary(library_path) File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/ctypes/init.py", line 459, in LoadLibrary return self._dlltype(name) File "/home/lxy/anaconda3/envs/decision-transformer-gym/lib/python3.8/ctypes/init.py", line 381, in init self._handle = _dlopen(self._name, mode) OSError: /home/lxy/.mujoco/mujoco200_linux/bin/libmujoco200.so: undefined symbol: __glewBindBuffer

Ugadot commented 3 years ago

Same here, did you find any solution for that?

GUESSZERO4 commented 3 years ago

I solved my problem by running the following command “sudo apt-get install -y libglew-dev”.

CodingNovice7 commented 2 years ago

I solved my problem by running the following command “sudo apt-get install -y libglew-dev”.

I encountered the same error and performed the same operation as you, but it didn't work.