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
  • If you installed via the toolchain manager you should have everything. Have you selected the toolchain from the toolchain manager in VS Code (if it did not happen automatically)? You can do that here:

    Also, does building from the command line work? If testing that, remember to open the command line from the toolchain manager (clicking the downwards error to the right of the "Open VS Code" button, and selecting "Open Terminal".

Children
Related