Hello,
I am trying to run the example streaming.py, but it is giving an error
The platform is RaspberryPi 4 ubuntu 22.04, python 3.9.5 and pip 21.1.1; also this is with the physical drone using Olympe 7.2 and 7.1 connected via remote controller.
Traceback (most recent call last):
File "/home/dtadmin/code/parrot-groundsdk/src/olympe/doc/examples/streaming.py", line 21, in <module>
from olympe.video.renderer import PdrawRenderer
File "/home/dtadmin/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/olympe/video/renderer.py", line 8, in <module>
from OpenGL import GLX
File "/home/dtadmin/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/OpenGL/GLX/__init__.py", line 3, in <module>
from OpenGL.GLX.VERSION.GLX_1_0 import *
File "/home/dtadmin/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/OpenGL/GLX/VERSION/GLX_1_0.py", line 14, in <module>
from OpenGL.raw.GLX.VERSION.GLX_1_0 import *
File "/home/dtadmin/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/OpenGL/raw/GLX/VERSION/GLX_1_0.py", line 44, in <module>
def glXChooseVisual(dpy,screen,attribList):pass
File "/home/dtadmin/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/OpenGL/raw/GLX/VERSION/GLX_1_0.py", line 13, in _f
return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_VERSION_GLX_1_0',error_checker=_errors._error_checker)
AttributeError: 'EGLPlatform' object has no attribute 'GLX'
I would highly appreciate some help.
Thank you in advance!
Best regards.
Satya