Windows Git Bash: bash: conan: command not found after installing Conan using Pip3

Error Message:

bash: conan: command not found

When installing using PIP you should always actually read the output as a matter of course, the warnings and especially error messages are important.

When install from PIP using Git Bash on Windows I got all these warnings.

WARNING: The script pyjwt.exe is installed in 'C:\Users\me\AppData\Roaming\Python\Python36\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script distro.exe is installed in 'C:\Users\me\AppData\Roaming\Python\Python36\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pygmentize.exe is installed in 'C:\Users\me\AppData\Roaming\Python\Python36\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts conan.exe, conan_build_info.exe and conan_server.exe are installed in 'C:\Users\me\AppData\Roaming\Python\Python36\Scripts' which is not on PATH.

For whatever reason, adding C:\Users\me\AppData\Roaming\Python\Python36\Scripts to the System or User path did nothing for me, so this is what I do.

In Git Bash:

vim ~/.bashrc# add the line
alias conan='C:\\Users\\me\\AppData\\Roaming\\Python\\Python36\\Scripts\\conan.exe'
# note the single quotes, not double quotes, and the double \\
source ~/.bashrc

Now when I invoke conan from the command line using Git bash I see the proper help message so we know that Windows can find it.

I usually prefer making an alias in ~/.bashrc to editing the PATH anyway, which can have unintended consequences, although usually only on Linux have I had issues, not so much on Windows.

XR Developer at HookBang