Error installing ODM command line on WLS2

When installing ODM 2.0 on WLS2 Ubuntu 18.04 I received the following error:

Attempting uninstall: PyYAML
Found existing installation: PyYAML 3.12
ERROR: Cannot uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files
belong to it which would lead to only a partial uninstall.

At the end of the installation when executing the command “core/run.sh --help” received the following error:

Traceback (most recent call last):
File “/code/run.py”, line 10, in
from opendm import config
File “/code/opendm/config.py”, line 6, in
from appsettings import SettingsParser
ModuleNotFoundError: No module named ‘appsettings’

I’m a layman in linux, but I managed to solve the problem with the command:

sudo -H pip3 install --ignore-installed PyYAML

And then repeating the command:

bash configure.sh install

After these actions, ODM started to function normally
I hope I have helped some who may have this problem
Now just learn to use ODM from the command line

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.