I am trying to make the nrf52840 dongle the Rcp joiner using the steps mentioned in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/protocols/thread/tools.html#configuring-a-radio-co-processor.
I am opening the terminal from "open terminal" option as shown in below image
But when i give the command :
$west build -p always -b nrf52840dongle_nrf52840 nrf/samples/openthread/coprocessor/ -- -DOVERLAY_CONFIG="overlay-usb.conf" -DDTC_OVERLAY_FILE="usb.overlay"
in terminal i get the following error
gjs@gjs-Vostro-3681:~/ncs/v2.4.0$ west build -p always -b nrf52840dongle_nrf52840 nrf/samples/openthread/coprocessor/ -- -DOVERLAY_CONFIG="overlay-usb.conf" -DDTC_OVERLAY_FILE="usb.overlay" Python path configuration: PYTHONHOME = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local' PYTHONPATH = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local/lib/python3.8/site-packages' program name = '/usr/bin/python3' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/bin/python3' sys.base_prefix = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local' sys.base_exec_prefix = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local' sys.platlibdir = 'lib' sys.executable = '/usr/bin/python3' sys.prefix = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local' sys.exec_prefix = '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local' sys.path = [ '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local/lib/python3.8/site-packages', '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local/lib/python310.zip', '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local/lib/python3.10', '/home/gjs/ncs/toolchains/1f9b40e71a/usr/local/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 ModuleNotFoundError: No module named 'encodings' Current thread 0x00007f8877a961c0 (most recent call first): <no Python frame>