Open jing-bi opened 3 years ago
me too, anybody help!!!!!!
For some reason in pycharm, you should set the LD_LIBRARY_PATH variable in another way (yeah, it pissed me off too.)
Add the LD_LIBRARY_PATH value in the pycharm run configuration:
then add your environment variable here
do the same but here
Describe the bug A clear and concise description of what the bug is. mujoco-py is installed in a conda environment, execute the same command with same environment variables everything works fine in ternimal. BUT when i use pycharm, it seems cannot find the libglewegl.so lib:
I tried to modify the source code and
print(name,path)
inload_dynamic_ext
in mujoco-py/builder.py. Both method give me the same result which iscymj /u/user/miniconda3/envs/vplan/lib/python3.8/site-packages/mujoco_py/generated/cymj_2.0.2.13_38_linuxgpuextensionbuilder_38.so
but once executedloader.load_module()
, pycharm will sayImportError: libglewegl.so: cannot open shared object file: No such file or directory
while things work well in terminal.Desktop (please complete the following information):
Environment
echo $LD_LIBRARY_PATH
:'/u/user/.mujoco/mujoco200/bin:/usr/lib/nvidia-440'I'm hoping anybody can give a hint on how should I proceed.