ok, you might be on to something here

I get nothing:

echo $LIBTBX_BUILD


even though my bash states:

export LIBTBX_BUILD=/Users/magnus/Downloads/cctbx_build
export PYTHONPATH=/Users/magnus/Downloads/cctbx_sources:/opt/local/bin:/Users/magnus/Downloads/cctbx_build/lib:/Users/magnus/Downloads/cctbx_sources:/Users/magnus/Downloads/cctbx_sources/boost_adaptbx:/Users/magnus/Downloads/cctbx_sources/libtbx/pythonpath:/usr/local/lib:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
export DYLD_LIBRARY_PATH=/Users/magnus/Downloads/cctbx_build/lib

and
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


Magnus

On 04 Jun 2014, at 21:01, Luc Bourhis <[email protected]> wrote:


On 4 Jun 2014, at 19:26, Magnus Andersson <[email protected]> wrote:

Yes, the three exports are in my .bash_profile

Can you confirm that .bash_profile is sourced when you open a new Terminal window? E.g. what do you get with "echo $LIBTBX_BUILD"? I know I am grasping at straw at this stage�

I launch by:

/opt/local/bin/python2.7 PyWAXS.py

where I have my python build that contains all modules I need

but

type python

gives: python is /Library/Frameworks/Python.framework/Versions/2.7/bin/python

Any idea of what goes on here?

"echo $PATH" shall give you the answer to that! But if you launch your script PyWAXS.py  with the full path /opt/local/bin/python2.7, it should not matter.

Luc



_______________________________________________
cctbxbb mailing list
[email protected]
http://phenix-online.org/mailman/listinfo/cctbxbb