Re: West not installing; Alternative ways to install? #west

Marti Bolivar <marti@...>

Hi Johnnie,

You can run "pip3 show -f west" to see where west was installed. Please make sure that is on your PATH. On Linux that is likely to be ~/.local/bin or so.


On Fri, Feb 15, 2019, 7:23 PM <johnnie.l.birch.jr@... wrote:

Hi All,

Getting started with zephyr, wanting to flash on an arduino 101 board for some experimentation. My host system is Mint 18.1 based on Ubuntu 16.04. I've followed steps to install the SDK and I assume that is installed correctly. Now I am following steps to install west from here:  but this step:

# Linux
pip3 install --user west

does not seem to do what it is intended. It leads to what looks like a successful install: 

jlb6740@yshou-mint:~$ pip3 install --user west
Collecting west Using cached
Collecting colorama (from west) Using cached Collecting pykwalify (from west) Using cached Collecting PyYAML (from west) Collecting python-dateutil>=2.4.2 (from pykwalify->west) Using cached Collecting docopt>=0.6.2 (from pykwalify->west) Collecting six>=1.5 (from python-dateutil>=2.4.2->pykwalify->west) Using cached Installing collected packages: colorama, six, python-dateutil, docopt, PyYAML, pykwalify, west Successfully installed PyYAML-3.13 colorama-0.4.1 docopt-0.6.2 pykwalify-1.7.0 python-dateutil-2.8.0 six-1.10.0 west-0.5.4 You are using pip version 8.1.1, however version 19.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. jlb6740@yshou-mint:~$ westcos-tool ^C jlb6740@yshou-mint:~/Downloads$ west --version No command 'west' found, did you mean: Command 'test' from package 'coreutils' (main) west: command not found jlb6740@yshou-mint:~/Downloads$


but there is no "west" file to execute on my path. At the website for west the install command is slightly different:

pip3 install west

But again, nothing is found on my path. I tried to install the whl file, I also tried to install with sudo but nothing has given me an executable to move on to the next steps:

west init zephyrproject
cd zephyrproject
west update

What are some alternative ways to installing this west script? Even the "Using Zephyr with west" page seems to imply I will want it for flashing and debugging later so I assume this is not a step I should skip.




Join to automatically receive all group messages.