ipython with macports

Rainer Müller raimue at macports.org
Thu Mar 18 05:22:13 PDT 2010

On 2010-03-16 14:53 , Claus wrote:
> python still wants to use my (still existing) fink version of numpy.
> The same behaviour occurs for all all packages and also from within ipython.
> How can I change this so that python (the macport python) uses the
> macport site-packages?

Check if you have any custom PYTHONPATH in the environment. I guess it
contains some path to /sw and this leads python to picking up the wrong

Make sure that you do not load settings for both Fink an MacPorts at the
same time in your .profile/.bash_profile/.bashrc. Instead, do it
manually in a shell where you want to use them.


More information about the macports-users mailing list