On Fri, Nov 2, 2012 at 4:49 PM, Collin Capano <[email protected]> wrote:
> And yet, still, if I run "ipython --version", I get 0.11. I'm pretty > certain this isn't due to a preinstalled version getting picked up in my > PATH. The preinstalled version is in /usr/local/bin/ipython, and if I type > "which > Having stuff in /usr/local commonly makes messes, and is not supported. > ipython" after uninstalling the port, this is what is returned. My > macports installations go to /opt/local/bin. After installing and > selecting, typing "which ipython" points to /opt/local/bin/ipython. > In this case, your problem is probably that the shell caches where it saw an executable. "which" is not built into your shell, apparently, and/or is not able to use your interactive shell's cache --- so it sees the first one in $PATH. "hash -r" (Bourne-like shells) or "rehash" (csh-like shells) will flush and recompute the path cache. -- brandon s allbery kf8nh sine nomine associates [email protected] [email protected] unix/linux, openafs, kerberos, infrastructure http://sinenomine.net
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-users
