Another create_nordic_project failed issue

Apologies for this question, as it has been asked a number of times but I've not found anything to help so far.

As at the time of writing, I believe I've got the latest of everything (Segger IDE, nRF Connect etc). On attempting to open an nRF Connect Project then Segger is reporting the following:

Creating solution peripheral_lbs.emProject
/usr/local/bin/cmake -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=/opt/nordic/ncs/zephyr/boards/arm/nrf9160dk_nrf9160 -B/opt/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs/build_nrf9160dk_nrf9160ns -S/opt/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/usr/local -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -D WEST=/usr/local/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/arm_segger_embedded_studio_v534a_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Application: /opt/nordic/ncs/nrf/samples/bluetooth/peripheral_lbs
-- Zephyr version: 2.5.99 (/opt/nordic/ncs/zephyr)
-- Board: nrf9160dk_nrf9160ns, Revision: 0.7.0
-- Cache files will be written to: /Users/myuser/Library/Caches/zephyr
-- Found dtc: /usr/local/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/usr/local)
-- Found BOARD.dts: /opt/nordic/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base (cached)): /opt/nordic/ncs/zephyr/cmake/app/boilerplate.cmake
nrf9160dk_nrf9160ns.dts.pre.tmp:367.32-371.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property
Traceback (most recent call last):
File "/opt/nordic/ncs/zephyr/scripts/dts/gen_defines.py", line 33, in <module>
from devicetree import edtlib
File "/opt/nordic/ncs/zephyr/scripts/dts/python-devicetree/src/devicetree/edtlib.py", line 76, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
CMake Error at /opt/nordic/ncs/zephyr/cmake/dts.cmake:240 (message):
gen_defines.py failed with return code: 1
Call Stack (most recent call first):
/opt/nordic/ncs/zephyr/cmake/app/boilerplate.cmake:554 (include)
/opt/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/opt/nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:8 (find_package)



error: cmake failed
create_nordic_project.py failed (1)
Related