pyrender
pyrender copied to clipboard
pyglet.window.NoSuchConfigException
Hi, I follow the step to install.But when I run the example , I got the bug "pyglet.window.NoSuchConfigException". If you know why, please tell me how to solve it . Thx your contribute.
Hi, I have the same problem, when using pyrender.Viewer. Does anyone have any tips?
Hi, I got the same exception. Running the minimal sample. Guess the window was not created, and the config is empty. But don't know how to fix it.
So no one noticed this problem? If anyone has found the solutions, pls help us.
I met the same problem, it was caused by line18-19 "import pyglet; pyglet.options['shadow_window'] = False
" of pyglet.py, which is in your python pkg installed path if u installed by pip install pyrender
. In my case it path is "/usr/local/lib/python2.7/dist-packages/pyrender/platforms
" as i installed by sudo pip install pyrender
.
I add "print pyglet.__file__
" after "import pyglet", it will output "/usr/local/lib/python2.7/dist-packages/pyrender/platforms/pyglet.pyc
", so it is the problem of import module wrong;
my solution is modify pyglet.py to pyglet1.py; then in file pyglet.py's parent directory, modfiy line 116 of offscreen.py from "from pyrender.platforms.pyglet import PygletPlatform
" to "from pyrender.platforms.pyglet1 import PygletPlatform
". it solves the problem.
Hi guys, I met the same issue when running the live viewer demo, and I solved it by a) removing the "sample_buffers=1, samples=4" from the initialization (Line 991) of the Config in the code in Viewer.py, and b) modified the constants.py to make OPEN_GL_MAJOR = 3 and OPEN_GL_MINOR = 3. Hope this gives some clue to you. :)
I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl
I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl
I meet the same problem with you and the methods not work either. At last, I add the args --plotting-module="matplotlib" into the command, and the demo works well. Maybe you can try this too.
I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl
I meet the same problem with you and the methods not work either. At last, I add the args --plotting-module="matplotlib" into the command, and the demo works well. Maybe you can try this too.
Thanks a lot!
it looks --plotting-module="matplotlib" this flag has been removed and this bug is still not fixed ??
it worked for me in Ubuntu 16, but I got this error on ubuntu 18, who can fixed this? It seems like a openGL error
The Viewer()
class to set camera view in example.py
may has some error. You can try the examples on colab. It works fine and can render RGBD images.