From eec888ee9f94f01800eddc5b962df80472c1120e Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Fri, 9 Sep 2022 15:23:28 -0700 Subject: [PATCH] Add note about PATH I've had to manually add the _radian_ install location to my PATH on every system I've tried (Mac, various Linux flavours...). I think an explicit tip would avoid a lot of trouble for users in a similar position.. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f8ba361..1517520 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,14 @@ radian pip3 install -U git+https://github.com/randy3k/radian ``` +If you encounter an error `command not found: radian` when trying to run _radian_, you probably need to add the installation location to your PATH. This location should have been flagged for you during the pip3 install process. But the common installation point on Linux and Mac, for example, would require the following: + +```sh +# below assumes zsh is your default shell; change ".zshrc" to ".bashrc" for vanilla bash shell +echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.zshrc +source $HOME/.zshrc +``` + Alternatively, if you use conda or miniconda, ```sh conda install -c conda-forge radian