Skip to content

error when bitbake elkpi-audio-os-image #2

@cuanyu

Description

@cuanyu

I am trying to build the image for rpi4 and I got this error while bitbake elkpi-audio-os-image:

tom@ubuntuYJY:~/elkpi/build$ bitbake elkpi-audio-os-image
Traceback (most recent call last):
File "/home/tom/elkpi/layers/bitbake/bin/bitbake", line 19, in
import bb
File "/home/tom/elkpi/layers/bitbake/lib/bb/init.py", line 128, in
from bb import fetch2 as fetch
File "/home/tom/elkpi/layers/bitbake/lib/bb/fetch2/init.py", line 26, in
import bb.persist_data, bb.utils
File "/home/tom/elkpi/layers/bitbake/lib/bb/persist_data.py", line 22, in
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)

I have other Yocto projects build on this same machine and they seem to be working fine. What should I check for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions