VS Code Extension - west flash fails from missing python dependencies

When trying to flash the hello world program onto an Adafruit nRF52840 Feather through a j link it fails with "FATAL ERROR: one or more Python dependencies were missing; see the getting started guide for details on how to fix". I installed the dependencies using the requirements.txt file in the ncs/v2.3.0/zephyr/script folder, but the problem persists.

OS: Ubuntu 22.04.2

VS Code: 1.78.2

nRF Connect SDK/toolchain: 2.3.0

Parents Reply
  • Same problem here, with the same fatal error when completing fund_less1_exer2

    Flashing build to 601004602
    /bin/sh -c west flash -d /home/Nordic/Projects/fund_less1_exer2/build --skip-rebuild -i 601004602

    -- west flash: using runner jlink
    FATAL ERROR: one or more Python dependencies were missing; see the getting started guide for details on how to fix

    The whole configuration was installed with the recommended procedure with Toolchain Manager 1.2.5

    Configuration is

    • Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux
    • VSC 1.80.1
    • nRF Connect SDK 2.4.0
    • Toolchain Manager 1.2.5
    • SEGGER J-Link Commander V7.88n

    I have read you have managed to fix this issue. What part of the installation should be carried manually?

    Thank you!

Children
Related