-
Notifications
You must be signed in to change notification settings - Fork 53
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
Attribute Error with '_ctx' #71
Comments
Hello, have you solved it? I also encountered it |
Hi, for me the "solution" was to downgrade the moderngl-window dependency to 2.4.6 and use the pyglet backend instead of pyqt5. pip install moderngl-window==2.4.6 pyglet from aitviewer.configuration import CONFIG as C
from aitviewer.viewer import Viewer
from aitviewer.renderables.smpl import SMPLLayer
C.window_type = "pyglet"
if __name__ == "__main__":
smpl_layer = SMPLLayer(
model_type="smplx",
gender="neutral",
)
v = Viewer()
v.scene.add(SMPLSequence.t_pose(smpl_layer))
v.run() |
This solves the problem. For my system (Linux), I remove the line |
Thank you for your reply |
python3.10/site-packages/moderngl_window/context/pyqt5/window.py", line 237, in resize
if self._ctx:
AttributeError: 'Window' object has no attribute '_ctx'. Did you mean: 'ctx'?
I am just testing quick start code.
The text was updated successfully, but these errors were encountered: