Update COMMAND python to COMMAND python3 to ensure that build uses python 3.X rather than defaulting to python 2.X in case python is not installed in the build environment.
Main errors when using python 2.X:
f-strings are not supported which results in syntax error
Pathlib was introduced in python 3.4+ and results in module not found error in lower versions
Update
COMMAND python
toCOMMAND python3
to ensure that build uses python 3.X rather than defaulting to python 2.X in case python is not installed in the build environment. Main errors when using python 2.X:cc @MasterJH5574