pybin icon indicating copy to clipboard operation
pybin copied to clipboard

PATH not being modified on macOS (High Sierra 10.13.5)

Open BrendanSimon opened this issue 7 years ago • 2 comments

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

BrendanSimon avatar Jul 08 '18 05:07 BrendanSimon

Did you restart your shell?

ofek avatar Jul 08 '18 22:07 ofek

Maybe it would be nice to add "Please restart your shell" after "Success!" for the noobs like @BrendanSimon and myself?

arkban avatar Jan 24 '19 02:01 arkban