Cross-built python can NOT work?

I'm building a image for Marvell CN9130-CRB, and everything is OK until adding python-pip.

If the package about pip has been checked in make menuconfig, I can NOT run python in a real device env, while it can run correctly if boot from a initramfs image.

I get error output as following:

Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/python3.9/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ImportError: bad magic number in 'encodings': b'\x00\xc1R\x00'

Current thread 0x0000ffff83e6e420 (most recent call first):

Any hints are appreciated!