MACHINE=imx8mp DISTRO=fslc-wayland source setup-environment build_ml/
bitbake core-image-minimal
Traceback (most recent call last):
File "/home/ubuntu/source/Dhana/MLPOC/sources/poky/bitbake/bin/bitbake", line 31, in <module>
import bb
File "/home/ubuntu/source/Dhana/MLPOC/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
import bb.msg
File "/home/ubuntu/source/Dhana/MLPOC/sources/poky/bitbake/lib/bb/msg.py", line 32, in <module>
import bb.event
File "/home/ubuntu/source/Dhana/MLPOC/sources/poky/bitbake/lib/bb/event.py", line 34, in <module>
import bb.utils
File "/home/ubuntu/source/Dhana/MLPOC/sources/poky/bitbake/lib/bb/utils.py", line 30, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
ubuntu@byte:~/source/Dhana/MLPOC/build_ml$ python --version
Python 2.7.18
ubuntu@byte:~/source/Dhana/MLPOC/build_ml$
the ubuntu used is 24.04.