pybin
pybin copied to clipboard
PATH not being modified on macOS (High Sierra 10.13.5)
I'm trying to use hatch on macOS (High Sierra 10.13.5), and need to use pybin to update my patch to find the installed hatch script, but I can't get pybin to modify my path.
What am I doing wrong?
$ pip3 install --user hatch
$ hatch
-bash: hatch: command not found
$ sudo -H pip3 install pybin
$ pybin
The user bin directory `/Users/brendan/Library/Python/3.7/bin` is not in PATH.
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
$ pybin put
Success!
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
$ pybin put -f
Success!
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Did you restart your shell?
Maybe it would be nice to add "Please restart your shell" after "Success!" for the noobs like @BrendanSimon and myself?