I have a Python script called aws that is stored in ~/Library/Python/3.6/bin on my computer that runs under Mac OSX 10.12.6. The folder is also listed in the PATH environment variable so that I can invoke aws from the command line. aws is found and it works nicely.
What puzzles me is that the which command line utility does not see the aws script. Example:
$ which vim
/usr/bin/vim
$ which aws
$ 
Why does it find vim but does not find aws?
