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

I am getting the error while running the demo.py #15

Open
MrAdi149 opened this issue Aug 24, 2024 · 0 comments
Open

I am getting the error while running the demo.py #15

MrAdi149 opened this issue Aug 24, 2024 · 0 comments

Comments

@MrAdi149
Copy link

TokenHMR\tokenhmr\demo.py
Traceback (most recent call last):
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\egl.py", line 67, in EGL
return ctypesloader.loadLibrary(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\ctypesloader.py", line 45, in loadLibrary
return dllType( name, mode )
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\EXT.USER\anaconda3\Lib\ctypes_init_.py", line 379, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: ("Could not find module 'EGL' (or one of its dependencies). Try using the full path with constructor syntax.", 'EGL', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Python\TokenHMR\tokenhmr\demo.py", line 10, in
from lib.models import load_tokenhmr
File "E:\Python\TokenHMR\tokenhmr\lib\models_init_.py", line 1, in
from .tokenhmr import TokenHMR
File "E:\Python\TokenHMR\tokenhmr\lib\models\tokenhmr.py", line 13, in
from ..utils import SkeletonRenderer, MeshRenderer
File "E:\Python\TokenHMR\tokenhmr\lib\utils_init_.py", line 4, in
from .renderer import Renderer
File "E:\Python\TokenHMR\tokenhmr\lib\utils\renderer.py", line 7, in
import pyrender
File "E:\Python\TokenHMR.venv\Lib\site-packages\pyrender_init_.py", line 3, in
from .light import Light, PointLight, DirectionalLight, SpotLight
File "E:\Python\TokenHMR.venv\Lib\site-packages\pyrender\light.py", line 10, in
from OpenGL.GL import *
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\GL_init_.py", line 3, in
from OpenGL import error as _error
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\error.py", line 12, in
from OpenGL import platform, configflags
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform_init
.py", line 35, in
load()
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform_init
.py", line 32, in _load
plugin.install(globals())
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\baseplatform.py", line 92, in install
namespace[ name ] = getattr(self,name,None)
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\baseplatform.py", line 14, in get
value = self.fget( obj )
^^^^^^^^^^^^^^^^
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\egl.py", line 93, in GetCurrentContext
return self.EGL.eglGetCurrentContext
^^^^^^^^
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\baseplatform.py", line 14, in get
value = self.fget( obj )
^^^^^^^^^^^^^^^^
File "E:\Python\TokenHMR.venv\Lib\site-packages\OpenGL\platform\egl.py", line 73, in EGL
raise ImportError("Unable to load EGL library", *err.args)

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

1 participant