Zap tool cannot be downloaded and compiled

Hi,

Environment:

Ubuntu 20.04 host

NRF Connect SDK 2.4.1

I am able to compile and debug Matter examples.

I want to download Zap and add a new cluster。

What should I do with the following questions? thanks

yida@yida-ThinkPad-E470:~/nordic/2.4.1/modules/lib/matter$ python scripts/setup/nrfconnect/get_zap.py -l /home/yida/nordic/zap -o
  File "scripts/setup/nrfconnect/get_zap.py", line 53
    f"Encountered problem when trying to read {zap_version_file} file. {e}")
                                                                          ^
SyntaxError: invalid syntax

Related