martinrusev/amon — Issue #62: amon and amond uses 'wrong' python
Author: fredrikmollerstrand
Created: 2012-02-08 10:41:05+00:00
State: open

Having just installed amon on OS X, /usr/local/amon/amond doesn't start. The python interpreter can't find the amon module.

Python is installed with Homebrew on my system:

[~]:$> which python
/usr/local/bin/python

[~]:$> which easy_install
/usr/local/bin/easy_install

These are the two binaries used by the installation script.

However, amon and amond are set up to run under /usr/bin/python as per their shebang.

Both programs run fine when I switch the shebang line to use /usr/local/bin/python or, better, /usr/bin/env python.