west debug fails, looking for python3.8

Hi,

I recently went through the manual installation instructions for the nRF Connect SDK posted here (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html). In addition to these instructions, I installed the nrf command line tools and have nrfjprog in my path. I also installed Jlink. After doing all of this, I can build and flash my nrf9160 project, but when I try to run "west debug" I get the following error:

ting [main] % west debug
-- west debug: rebuilding
[0/15] Performing build step for 'tfm'
ninja: no work to do.
-- west debug: using runner jlink
-- runners.jlink: JLink version: 7.66b
-- runners.jlink: J-Link GDB server running on port 2331; no thread info available
dyld[21613]: Library not loaded: /usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/Python
Referenced from: /opt/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb
Reason: tried: '/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/3.8/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.8/Python' (no such file)
FATAL ERROR: command exited with status -6: /opt/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb /Users/greg/git/nordic/ting/build/zephyr/zephyr.elf -ex 'target remote :2331' -ex 'monitor halt' -ex 'monitor reset' -ex load
ting [main] %

This is on an Intel Macbook. I have python 3.9 installed (not python 3.8). I don't understand why it is looking for a python3.8 file. I also don't understand why it says the python framework is referenced from ...arm-zephyr-eabi-gdb which is an executable binary, not a python script. So I'm not sure how to fix this. Any help appreciated.

Thanks

Greg

Parents Reply Children
No Data
Related