vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image
https://smpl-x.is.tue.mpg.de/
Other
1.78k stars 340 forks source link

AttributeError: module 'pyglet.gl' has no attribute 'xlib' #102

Closed Piero-M closed 4 years ago

Piero-M commented 4 years ago

Hi, everybody! I have this problem I can't solve.

On Mac Pro 16" I have this problem when I perform the prediction:

Traceback (most recent call last): File "smplifyx/main.py", line 272, in <module> main(**args) File "smplifyx/main.py", line 262, in main **args) File "/Applications/MAMP/htdocs/Avatar_smplify-x/smplify-x/smplifyx/fit_single_frame.py", line 546, in fit_single_frame color, _ = r.render(scene, flags=pyrender.RenderFlags.RGBA) File "/Users/pierom/opt/anaconda3/envs/AVATAR/lib/python3.6/site-packages/pyrender/offscreen.py", line 113, in render self._platform.make_uncurrent() File "/Users/pierom/opt/anaconda3/envs/AVATAR/lib/python3.6/site-packages/pyrender/platforms/pyglet_platform.py", line 54, in make_uncurrent pyglet.gl.xlib.glx.glXMakeContextCurrent(self._window.context.x_display, 0, 0, None) AttributeError: module 'pyglet.gl' has no attribute 'xlib'

does anyone know how I can fix this?

wine3603 commented 4 years ago

same error here

Piero-M commented 4 years ago

Not have link

ghost commented 4 years ago

only found this: https://github.com/mmatl/pyrender/issues/117

alexrichardson21 commented 4 years ago

Same issue did you find a workaround?

vchoutas commented 4 years ago

This seems like an error on the pyrender side, therefore I will close this.