I have some problems with olympe

python -c 'import olympe; print("Installation OK")'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 74, in __init__
    self.messages = ArsdkMessages.get()
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/messages.py", line 1246, in get
    cls._single = cls()
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/messages.py", line 1280, in __init__
    self._resolve_expectations()
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/messages.py", line 1364, in _resolve_expectations
    message._resolve_expectations(self)
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/messages.py", line 834, in _resolve_expectations
    ArsdkEventExpectation.from_arsdk(messages, expectation_obj))
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/expectations.py", line 771, in from_arsdk
    expected_message = messages.by_id_name[ar_expectation.id.lstrip("#")]
KeyError: '163-6'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/module_loader.py", line 83, in find_spec
    if not fullname.startswith(self.message_root) and not fullname.startswith(self.enum_root):
AttributeError: 'ModuleLoader' object has no attribute 'message_root'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/__init__.py", line 11, in <module>
    from .arsdkng.drone import Drone, SkyController
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/drone.py", line 70, in <module>
    from olympe.messages import ardrone3
ModuleNotFoundError: No module named 'olympe.messages'

I installed olympe at ubuntu 18.04
I tried all solutions at this forum but I can’t fix this such like aenum==2.2.5

and also i tried
from olympe.messages import ardrone3>from olympe.arsdkng.messages import ardrone3
at /code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/drone.py
then the last error message(modulenotfounderror) been changed like this

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/__init__.py", line 11, in <module>
    from .arsdkng.drone import Drone, SkyController
  File "/home/vumum/code/parrot-groundsdk/out/olympe-linux/final/usr/lib/python/site-packages/olympe/arsdkng/drone.py", line 70, in <module>
    from olympe.arsdkng.messages import ardrone3
ImportError: cannot import name 'ardrone3'

Please help me i need to fix this errors and run olympe

Try with this. It is in another topic

Thanks you saved my life

1 Like