vim +python seems to use /usr/bin/python

Mark James Adams mark.james.lists at
Fri Nov 9 15:10:12 PST 2007

I'm trying to use some vim plugins that use python. I already had
python installed through macports, so I

sudo port install vim +python

to build vim with the optional python module.

The problem is that vim seems to be using the default OS X install of
python (/usr/bin/python) instead of the macports version. This is
rather surprising since vim seems to access python via includes, and I
thought that macports didn't look for includes outside of /opt/local.

Does anyone know of how to tell vim, at compile time or otherwise, to
use the macports install of python?


Mark James Adams

More information about the macports-users mailing list