olympe icon indicating copy to clipboard operation
olympe copied to clipboard

import ulog ModuleNotFoundError: No module named 'ulog'

Open ning-cs opened this issue 4 years ago • 3 comments

i have installed olympe flowing the guide[https://developer.parrot.com/docs/olympe/installation.html] after ./products/olympe/linux/env/postinst. it occours error `**ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

sphinx-substitution-extensions 2018.11.12.3 requires sphinx==1.8.2, but you'll have sphinx 1.8.5 which is incompatible.** then,i ignore the error,begin to check my installation,anathor eeror(olympe-python3) new@new:~/0.Workspace/code/parrot-groundsdk$ pip --version pip 20.2.4 from /home/new/0.Workspace/code/parrot-groundsdk/.python/py3/lib/python3.6/site-packages/pip (python 3.6) (olympe-python3) new@new:~/0.Workspace/code/parrot-groundsdk$ python -c 'import olympe; print("Installation OK")' Traceback (most recent call last): File "", line 1, in File "/home/new/0.Workspace/code/parrot-groundsdk/packages/olympe/src/olympe/init.py", line 6, in import olympe.log File "/home/new/0.Workspace/code/parrot-groundsdk/packages/olympe/src/olympe/log/init.py", line 7, in import ulog ModuleNotFoundError: No module named 'ulog' ` how could i fix it? Thanks!

ning-cs avatar Nov 06 '20 10:11 ning-cs

This issue seems to still exist. It is just a missing dependency though, and can be fixed via: pip install ulog

iaamp avatar Apr 29 '21 10:04 iaamp

Hi,

I have the same issue. Installing ulog with pip does fix the problem but I get this error when executing:

AttributeError: module 'ulog' has no attribute 'enable_bridge'

Do you know if a certain version needs to be installed?

Thanks in advance!!

BjarneDesmetBrainJam avatar May 25 '21 10:05 BjarneDesmetBrainJam

Hi,

i have the same problem. Have you already found a solution?

Thanks Manuela

manupollak avatar Apr 26 '22 12:04 manupollak

Have you been able to reproduce this issue lately with the latest 7.X releases ? (currently the 7.4.2?)

ndessart avatar Nov 30 '22 15:11 ndessart

At least for me, the issue seems to be fixed. Tested with Olympe 7.2.0, which was installed via pip parrot-olympe within a Python 3 (v.3.8.10) virtualenv on Ubuntu 20.04.

If i remember correctly, the issue occurred back when Olympe was relying on an install shell script, instead of a Python wheel.

iaamp avatar Dec 01 '22 08:12 iaamp