The following error message is displayed when I run the build environment on GitBash for Linux Poky file:
Python was not found; run without arguments to install from the Microsoft store, or disable this shortcut from Settings>Manage App Execution Aliases.
BitBake requires Python 3.8.0 or later as Python3.
In the execution alias, I disabled App installed Python.exe and enabled Python3.exe. In the environment variables, I changed the path for system settings to Python and Python scripts. GitBash shell recognise python version 3.12 when I ask for the version of python installed.
However the same error message is shown when I try running the build environment command in the Gitbash power shell
What happens when you run
python3 --version?Poky should work in WSL2, but not WSL1 and not a Windows terminal. If there are
.exefiles involved then you're not in WSL2.