[cctbxbb] Boost Import Error

Luc Bourhis luc_j_bourhis at mac.com
Wed Jun 4 12:21:10 PDT 2014


On 4 Jun 2014, at 21:10, Magnus Andersson <magnus.andersson at scilifelab.se> wrote:

> ok, you might be on to something here

On Unixes, .bash_profile is only sourced when you log in but not when you open a new terminal. It is different by default on MacOS X because of the way Terminal.app is configured but if you changed that, then .bash_profile won't be sourced. Try putting your export's in .bashrc instead or open Terminal > Preferences > Startup and select "Shell opens with: Default Login Shell".

> echo $PATH
> /opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/magnus/.venvburrito/bin:/sw/lib/cctbx/cctbx_build/bin:/sw/bin:/sw/sbin:/Users/magnus/Downloads/cctbx_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

Ok. MacPorts installs python27 but not python, so "type python" gets the system one. You need to do
	port select --set python27
to get python mapped to /opt/local/bin/python27.

Luc



More information about the cctbxbb mailing list