hmr2.0 icon indicating copy to clipboard operation
hmr2.0 copied to clipboard

When execute the demo

Open STRUGGLE1999 opened this issue 2 years ago • 0 comments

Would you please help me to solve it.I have installed the pyglet,but it says Library "GLU" not found.I was very upset.Please help me.

Traceback (most recent call last): File "demo.py", line 68, in visualize(renderer, original_img, params, vertices, cam, joints) File "../visualise/vis_util.py", line 180, in visualize img_overlay = renderer(vert_shifted, img=img, bg_color=np.array((255.0, 255.0, 255.0, 1))) File "../visualise/trimesh_renderer.py", line 46, in call image_bytes = scene.save_image(resolution=(w, h), background=bg_color, visible=True) File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/trimesh/scene/scene.py", line 873, in save_image from ..viewer.windowed import render_scene File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/trimesh/viewer/windowed.py", line 32, in import pyglet.gl as gl # NOQA File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/init.py", line 95, in from pyglet.gl.gl import * File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/gl.py", line 45, in from pyglet.gl.lib import link_GL as _link_function File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/lib.py", line 149, in from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/gl/lib_glx.py", line 46, in glu_lib = pyglet.lib.load_library('GLU') File "/home/XiaoLF/anaconda3/envs/hmr/lib/python3.6/site-packages/pyglet/lib.py", line 168, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GLU" not found.

STRUGGLE1999 avatar Jul 14 '22 09:07 STRUGGLE1999