, which indeed makes my /opt/local/bin/python2.7 find boost. However, now I get a new error message, which is a little harder to interpret:
import iotbx.pdb
File "/Users/magnus/Downloads/cctbx_sources/iotbx/pdb/__init__.py", line 2, in <module>
from cctbx.array_family import flex
File "/Users/magnus/Downloads/cctbx_sources/cctbx/array_family/flex.py", line 2, in <module>
import scitbx.array_family.flex
File "/Users/magnus/Downloads/cctbx_sources/scitbx/array_family/flex.py", line 2, in <module>
import boost.optional # import dependency
File "/Users/magnus/Downloads/cctbx_sources/boost_adaptbx/boost/optional.py", line 2, in <module>
import boost.python
File "/Users/magnus/Downloads/cctbx_sources/boost_adaptbx/boost/python.py", line 57, in <module>
ext = import_ext("boost_python_meta_ext")
File "/Users/magnus/Downloads/cctbx_sources/boost_adaptbx/boost/python.py", line 36, in import_ext
+ [" "+p for p in sys.path]))
ImportError: __import__("boost_python_meta_ext"): dlopen(/Users/magnus/Downloads/cctbx_build/lib/boost_python_meta_ext.so, 2): Symbol not found: boost::python::objects::function_object(boost::python::objects::py_function const&, std::__1::pair<boost::python::detail::keyword const*, boost::python::detail::keyword const*> const&)
Referenced from: /Users/magnus/Downloads/cctbx_build/lib/boost_python_meta_ext.so
Expected in: /usr/local/lib/libboost_python.dylib
in /Users/magnus/Downloads/cctbx_build/lib/boost_python_meta_ext.so
sys.path:
/Users/magnus/Documents/TR-WAXS/magnus_testing/PyWAXS
/Users/magnus/.venvburrito/lib/python/distribute-0.6.32-py2.7.egg
/Users/magnus/.venvburrito/lib/python/virtualenv-1.8.4-py2.7.egg
/Users/magnus/.venvburrito/lib/python/virtualenvwrapper-3.6-py2.7.egg
/Users/magnus/.venvburrito/lib/python/stevedore-0.8-py2.7.egg
/Users/magnus/.venvburrito/lib/python/virtualenv_clone-0.2.4-py2.7.egg
/Users/magnus/.venvburrito/lib/python
/Users/magnus/Downloads/cctbx_sources
/opt/local/bin
/Users/magnus/Downloads/cctbx_build/lib
/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/python27.zip
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/readline
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyObjC
/Library/Python/2.7/site-packages