3 ms·
For Python packages that include something you want in your PATH you can use pipx: $ brew install pipx # (1) $ pipx ensurepath $ pipx install west 1.
by js2 4y ago
For Python packages that include something you want in your PATH you can use pipx:
$ brew install pipx # (1)
$ pipx ensurepath
$ pipx install west
1. https://pypi.org/project/pipx/ https://pypi.org/project/pipx/
Alternately you can create a virtual env just for west:
$ python3 -m venv west
$ west/bin/pip install west
$ west/bin/west
If you installed west with `python -m pip install west`, then `west` should be the same place in your PATH as `python`. You can probably also run it with `python -m west`.