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

nRF Connect Getting Started Assistant installation problem with West

I'm trying to set up the development environment on Ubuntu 18.04. I got through Step 1. At the beginning of Step 2, I am trying to install West.

pip3 install --user west

The command appears to work, but when I verify it says:

/bin/sh: 1: west: not found
17:31:31.812
nrf_connect_sdk-0.1.4-0 verification failed
And in the terminal when I run any West command, I get:
matt@matt-desktop:~$ west --help

Command 'west' not found, did you mean:

command 'test' from deb coreutils

Try: sudo apt install <deb name>
Any advice?
Parents
  • I also had this issue and by adding the "export PATH=$PATH:$HOME/.local/bin" in my .bashrc solved the issue with running it in a terminal. The Getting started assistant still would not verify it though. I noticed that the assistant was trying to find west by absolute path "/bin/west". I tested to add a symlink to the correct installation path as:

    sudo ln -s $HOME/.local/bin/west /bin/west

    After running this command the "Getting Started Assistant" verify a correctly installed west.

Reply
  • I also had this issue and by adding the "export PATH=$PATH:$HOME/.local/bin" in my .bashrc solved the issue with running it in a terminal. The Getting started assistant still would not verify it though. I noticed that the assistant was trying to find west by absolute path "/bin/west". I tested to add a symlink to the correct installation path as:

    sudo ln -s $HOME/.local/bin/west /bin/west

    After running this command the "Getting Started Assistant" verify a correctly installed west.

Children
No Data
Related