Opengl problem zed 2 camera

Hello Everyone

I have installed all the requirements and i have run a couple of demos but when i try to run object_detection_image_viewer.py it gives me this error

OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

I am currently running it on windows 10
Cuda 10.2
and an RTX 5000
if that information helps

I’m running it on my base environment and i have all the packages installed i have been able to use the Zed explorer and so on. but not to run the python script , object detection
im using python 3.6.8 and this is the packages that i have installed

image

this is the full error

Traceback (most recent call last):
File “C:/Program Files (x86)/ZED SDK/samples/object detection/birds eye viewer/python/object_detection_birds_view.py”, line 71, in
viewer.init(camera_model, res)
File “C:\Program Files (x86)\ZED SDK\samples\object detection\birds eye viewer\python\ogl_viewer\viewer.py”, line 412, in init
glutInit(sys.argv)
File “C:\Users\EmTech\AppData\Local\Programs\Python\Python36\lib\site-packages\OpenGL\GLUT\special.py”, line 333, in glutInit
_base_glutInit( ctypes.byref(count), holder )
File “C:\Users\EmTech\AppData\Local\Programs\Python\Python36\lib\site-packages\OpenGL\platform\baseplatform.py”, line 425, in call
self.name, self.name,
OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

Hi @dlraro,

Sorry for the late reply.
As you already seem to have the required PyOpenGL packages, can you try following the suggestion on that page and see if it helps with your issue ?
The suggested workaround is to download this package and place freeglut.dll in the folder of the python script you are trying to run