I assume that $PATHis different from the emacs bash shell. You can verify this by running this command in each.
echo $PATH
This is the search path used to search for commands. You need to include / opt / local / bin in this.
export PATH="/opt/local/bin:$PATH"
~/.bashrc, bash emacs ( -).
Update:
, Emacs ~/.bash_profile ~/.profile, . , PATH, .
PATH bash_profile bashrc. bashrc, bash_profile.
, ~/.bash_profile.
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
bashrc, bash_profile.