-
Notifications
You must be signed in to change notification settings - Fork 4
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
ImportError: ('Unable to load EGL library', 22, '找不到指定的模块。', None, 126, None, 'EGL', None) #8
Comments
I feel sad, this solution is no useful for me, none of the bugs have been changed. |
Hi, I tried to use this method, unfortunately it still doesn't work. But I used other method to solve this problem. Running "ffmpeg -i D:/GLoT/test.MP4 -r 30000/1001 -f image2 -v error /tmp\test_MP4/%06d.jpg" Downloading files from https://pjreddie.com/media/files/yolov3.weights To fix this problem, I found the subprocess.py, then searched class Popen, changed the shell from False to True. Using this method, I fixed this bug, but now I meet a new problem. (glot) D:\GLoT>python demo.py --vid_file D:/GLoT/test.MP4 --gpu 0 --cfg ./configs/repr_table1_3dpw.yaml Downloading files from https://pjreddie.com/media/files/yolov3.weights Actually, I didn't find the yolov3.cfg file in the specified folder, I want to know the reason. |
Hi, I think the above problem is due to the additional installation of wget in the windows environment. I solved the above problem by placing yolov3.cfg and yolov3.weights in the specified location by downloading additionally. Perhaps you should mention this in the ReadMe file for Windows users? Running "ffmpeg -i D:/GLoT/test.MP4 -r 30000/1001 -f image2 -v error /tmp\test_MP4/%06d.jpg" Running Multi-Person-Tracker Now I have a new problem. I installed the corresponding versions of cuda and pytorch according to the configuration requirements, but this error occurred. Then I installed the corresponding cudnn version, but the same error still occurs. I want to ask you for help. Thank you! |
Hii, I solved the problem according to your method, and there was no cudnn error, but no gpu was used, did you successfully run the demo? |
It may also be a problem with the ubantu version, I have encountered a similar problem before, the 18 version is not very good, and the version above 20 can solve the bug. |
Hi, I was interested in your model, so I tried to run your demo.py. I configured the environment according to the readme file given and encountered the following error when running the demo.py file.
Traceback (most recent call last):
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\egl.py", line 70, in EGL
mode=ctypes.RTLD_GLOBAL
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\ctypesloader.py", line 45, in loadLibrary
return dllType( name, mode )
File "C:\Users\meruijingz.conda\envs\glot\lib\ctypes_init_.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "demo.py", line 38, in
from lib.utils.renderer import Renderer
File "D:\GLoT\lib\utils\renderer.py", line 5, in
import pyrender
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\pyrender_init_.py", line 3, in
from .light import Light, PointLight, DirectionalLight, SpotLight
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\pyrender\light.py", line 11, in
from .texture import Texture
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\pyrender\texture.py", line 8, in
from OpenGL.GL import *
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\GL_init_.py", line 3, in
from OpenGL import error as _error
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\error.py", line 12, in
from OpenGL import platform, configflags
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform_init.py", line 35, in
load()
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform_init.py", line 32, in _load
plugin.install(globals())
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\baseplatform.py", line 92, in install
namespace[ name ] = getattr(self,name,None)
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\baseplatform.py", line 14, in get
value = self.fget( obj )
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\egl.py", line 93, in GetCurrentContext
return self.EGL.eglGetCurrentContext
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\baseplatform.py", line 14, in get
value = self.fget( obj )
File "C:\Users\meruijingz.conda\envs\glot\lib\site-packages\OpenGL\platform\egl.py", line 73, in EGL
raise ImportError("Unable to load EGL library", *err.args)
ImportError: ('Unable to load EGL library', 22, '找不到指定的模块。', None, 126, None, 'EGL', None)
I tried commenting the line os.environ['PYOPENGL_PLATFORM'] = 'egl', but nothing changed, I still got this error. I want to know how to fix this problem.
The text was updated successfully, but these errors were encountered: