Skip to content

AttributeError: 'NoneType' object has no attribute 'glGetError' #3

@Kyfafyd

Description

@Kyfafyd

Hi, @wildavatar @Inso-13 thanks for your great work!
I have strictly follow the instructions in the readme to build the environment. When I try to visualize SMPL with python vis_smpl.py --subject "QV_dRsaJlEU", I get the following error:

Traceback (most recent call last):
  File "/mnt/petrelfs/wangzhao/WildAvatar_Toolbox/vis_smpl.py", line 7, in <module>
    from utils.smpl_utils import Renderer
  File "/mnt/petrelfs/wangzhao/WildAvatar_Toolbox/utils/smpl_utils.py", line 4, in <module>
    import pyrender
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/pyrender/__init__.py", line 3, in <module>
    from .light import Light, PointLight, DirectionalLight, SpotLight
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/pyrender/light.py", line 11, in <module>
    from .texture import Texture
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/pyrender/texture.py", line 8, in <module>
    from OpenGL.GL import *
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/OpenGL/GL/__init__.py", line 4, in <module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
    from OpenGL.raw.GL.VERSION.GL_1_1 import *
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
    from OpenGL.raw.GL import _errors
  File "/mnt/petrelfs/wangzhao/anaconda3/envs/wildavatar/lib/python3.9/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module>
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
AttributeError: 'NoneType' object has no attribute 'glGetError'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions