NCS v3.0.0-rc1, I use "west build -b nrf52840dk/nrf52840" in console to build, but report ERRORs

As subject, I want to build a NCS demo at console, but always report error:

C:\ncs\v3.0.0-rc1\zephyr\samples\basic\blinky>west build -b nrf52840dk/nrf52840
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/Python313/python.exe (found suitable version "3.13.1", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.0.0-rc1/zephyr/.cache
-- Found west (found suitable version "1.3.0", minimum required is "0.14.0")
-- Board: nrf52840dk, qualifiers: nrf52840
Parsing C:/ncs/v3.0.0-rc1/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf'
Merged configuration 'C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf'
Configuration saved to 'C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky/build/zephyr/.config'
Kconfig header saved to 'C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky/build/_sysbuild/autoconf.h'
--
****************************
* Running CMake for blinky *
****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky
-- CMake version: 3.31.4
-- Found Python3: C:/Python310/python.exe (found suitable version "3.10.0", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.0.0-rc1/zephyr/.cache
-- Zephyr version: 4.0.99 (C:/ncs/v3.0.0-rc1/zephyr)
CMake Error at C:/ncs/v3.0.0-rc1/zephyr/cmake/modules/boards.cmake:196 (message):
Error finding board: nrf52840dk

Error message: Traceback (most recent call last):

File "C:\ncs\v3.0.0-rc1\zephyr\scripts\list_boards.py", line 11, in <module>
import pykwalify.core

ModuleNotFoundError: No module named 'pykwalify'

Call Stack (most recent call first):
C:/ncs/v3.0.0-rc1/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
-- Configuring incomplete, errors occurred!
C:/ncs/v3.0.0-rc1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v3.0.0-rc1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)


CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: blinky

Location: C:/ncs/v3.0.0-rc1/zephyr/samples/basic/blinky
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/v3.0.0-rc1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/v3.0.0-rc1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/v3.0.0-rc1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' -DWEST_PYTHON=C:/Python313/python.exe '-BC:\ncs\v3.0.0-rc1\zephyr\samples\basic\blinky\build' -GNinja -DBOARD=nrf52840dk/nrf52840 '-SC:\ncs\v3.0.0-rc1\zephyr\share\sysbuild' '-DAPP_DIR:PATH=C:\ncs\v3.0.0-rc1\zephyr\samples\basic\blinky'

 I just download NCS 3.0.0 rc1, and try to build in commandline, this error make me confused, How to resolve it ?  Any help is appreciate,please.

Parents
  • Hi Max

    It seems like your are picking up the wrong python instance. 

    Can you try to load the toolchain using nrfutil an try again?

    nrfutil toolchain-manager launch --ncs-version=v3.0.0-rc1 --terminal

    Due to easter vacation here in Norway the office will be closed from end of work today until next Monday. Thank you for your patience

    Regards

    Runar

Reply
  • Hi Max

    It seems like your are picking up the wrong python instance. 

    Can you try to load the toolchain using nrfutil an try again?

    nrfutil toolchain-manager launch --ncs-version=v3.0.0-rc1 --terminal

    Due to easter vacation here in Norway the office will be closed from end of work today until next Monday. Thank you for your patience

    Regards

    Runar

Children
No Data
Related