Dear NXP
I use Python 2.7.18 on `Ubuntu 22.04.3 LTS`
and I will try to build `imx-4.14.98-2.0.0`
BTW, I had meet the below error.
Which version python should I use ?
===
~/work/imx-4.14.98-2.0.0/imx6qsabresd_build$ bitbake core-image-base
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = '/usr/lib/python2.7'
program name = 'python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python2.7',
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
File "/usr/lib/python2.7/encodings/__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Current thread 0x00007f7ea2457000 (most recent call first):
<no Python frame>
===
thank
Bryan