Ubuntu Pop OS 22.04 Problem
python3.10 does not hold Mutable Mapping and more in collections, it has changed to collections.abc. Has to be checked, but previous versions should still work:-)
Traceback (most recent call last):
File "/home/bernhard/toki_vsomeip/build-systems/yocto/poky/bitbake/bin/bitbake", line 19, in <module>
import bb
File "/home/bernhard/toki_vsomeip/build-systems/yocto/poky/bitbake/lib/bb/__init__.py", line 74, in <module>
import bb.msg
File "/home/bernhard/toki_vsomeip/build-systems/yocto/poky/bitbake/lib/bb/msg.py", line 20, in <module>
import bb.event
File "/home/bernhard/toki_vsomeip/build-systems/yocto/poky/bitbake/lib/bb/event.py", line 23, in <module>
import bb.compat
File "/home/bernhard/toki_vsomeip/build-systems/yocto/poky/bitbake/lib/bb/compat.py", line 7, in <module>
from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
https://stackoverflow.com/questions/70870041/cannot-import-name-mutablemapping-from-collections