Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Piero-M opened this issue Jul 21, 2020 · 5 comments
Closed

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

Piero-M opened this issue Jul 21, 2020 · 5 comments

Comments

@Piero-M
Copy link

Piero-M commented Jul 21, 2020

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
Copy link

wine3603 commented Aug 1, 2020

same error here

@Piero-M
Copy link
Author

Piero-M commented Aug 1, 2020

Not have link

@ghost
Copy link

ghost commented Sep 1, 2020

only found this: mmatl/pyrender#117

@alexrichardson21
Copy link

Same issue did you find a workaround?

@vchoutas
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants