This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

setting back nrf connect SDK on MAC for nrf91

I've being haven troubles getting to run SES examples, it keeps falling, is probably path problems but i can't indemnify them. So i want to start all over again from nerf connect SDK. In the first step i can't verify the the application the installation on make and python3.

on step 4 how do i know that the paths are correctly?

  • Hi,

    It seems to be an error in the gettings started assistant. I'm seeing the same now on my Mac despite having both cmake and python3 in my path. To verify you have these in your path you could type 'which python 3' and 'which cmake' in a terminal window and see if it returns the path to your executables. Everything should be fine if it does. 

  • I got : /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 and  /usr/local/bin/cmake

  • Looks good to me. Please post the logs if the builds are still failing after this. 

  • Loading solution asset_tracker.emProject
    Executing load commands
    /usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Users/Daniel/Documents/Nordic/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/Daniel/Documents/Nordic/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -H/Users/Daniel/Documents/Nordic/ncs/nrf/applications/asset_tracker -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -D WEST=~/Library/Frameworks/Python.framework/Versions/3.7/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Users/Daniel/Documents/Nordic/arm_segger_embedded_studio_v420a_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from '/Users/Daniel/Documents/Nordic/ncs/nrf/applications/asset_tracker'
    Zephyr version: 1.14.99
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /Users/Daniel/Library/Frameworks/Python.framework/Versions/3.7/bin/west (found suitable version "", minimum required is "0.6.0")
    CMake Error at /Users/Daniel/Documents/Nordic/ncs/zephyr/cmake/zephyr_module.cmake:45 (message):
      Traceback (most recent call last):
    
        File "/Users/Daniel/Documents/Nordic/ncs/zephyr/scripts/zephyr_module.py", line 169, in 
          main()
        File "/Users/Daniel/Documents/Nordic/ncs/zephyr/scripts/zephyr_module.py", line 129, in main
          stderr=subprocess.PIPE)
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 775, in __init__
          restore_signals, start_new_session)
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1522, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
    
      FileNotFoundError: [Errno 2] No such file or directory:
      '/Users/Daniel/Library/Frameworks/Python.framework/Versions/3.7/bin/west':
      '/Users/Daniel/Library/Frameworks/Python.framework/Versions/3.7/bin/west'
    
    Call Stack (most recent call first):
      /Users/Daniel/Documents/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:251 (include)
      CMakeLists.txt:11 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)
    
Related