Build legato framework

Hello
I want build legato framework last version.
I followed the installation instructions toolchain.

I run command

make wp750x
And get error

Building Legato for target ‘wp750x’
Makefile:348: Unable to determine Legato version
KSET build/wp750x/.config - TARGET_WP750X
Python path configuration:
PYTHONHOME = ‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr’
PYTHONPATH = ‘.’
program name = ‘python3’
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = ‘/usr/bin/python3’
sys.base_prefix = ‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr’
sys.base_exec_prefix = ‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr’
sys.executable = ‘/usr/bin/python3’
sys.prefix = ‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr’
sys.exec_prefix = ‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr’
sys.path = [
‘.’,
‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/lib/python38.zip’,
‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/lib/python3.8’,
‘/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/lib/python3.8/lib-dynload’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Current thread 0x00007f47dfc21740 (most recent call first):

Makefile:131: build/wp750x/.config.mk: Нет такого файла или каталога
make: *** [Makefile:398: build/wp750x/.config] Ошибка 1

How to fix it?

see if this helps: