buildout failure on OS X El Capitan
Created by: zhaoyue-zephyrus
Hi all,
I am trying to install bob.bio.spear on OS X El Capitan but meet some problems.
I am used to Anaconda so I created a conda environment following https://github.com/idiap/bob/wiki/Installation-with-conda. Then in the newly created environment, I cloned this repo and run "python bootstrap-buildout.py" and "./bin/buildout". The log looks like
...
Develop: '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core'
bob.buildout.tools: taking requirement setuptools' (23.0.0) from
/Users/zhaoyue/workspace/bob.bio.spear/eggs/setuptools-23.0.0-py2.7.egg'
bob.buildout.tools: taking requirement bob.extension' (2.2.1b0) from
/Users/zhaoyue/workspace/bob.bio.spear/src/bob.extension'
bob.buildout.tools: taking requirement bob.blitz' (2.0.9b0) from
/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz'
Traceback (most recent call last):
File "/var/folders/rr/wl535zcx1bnbl0vs3b8h14l00000gp/T/tmppanFll", line 14, in
exec(compile(open('/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py').read(), '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py', 'exec'))
File "/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py", line 8, in
from bob.blitz.extension import Extension, Library, build_ext
File "/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/init.py", line 6, in
from ._library import array, as_blitz
ImportError: dlopen(/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/_library.so, 2): Library not loaded: @rpath/libblitz.0.dylib
Referenced from: /Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/_library.so
Reason: image not found
While:
Installing.
Processing develop directory '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core'.
An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 1995, in main getattr(buildout, command)(args) File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 528, in install installed_develop_eggs = self._develop() File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 770, in _develop zc.buildout.easy_install.develop(setup, dest) File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/bob.buildout-2.0.11-py2.7.egg/bob/buildout/extension.py", line 213, in develop zc.buildout.easy_install.call_subprocess(args) File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/easy_install.py", line 160, in call_subprocess % repr(args)[1:-1]) Exception: Failed to run command: '/Users/zhaoyue/anaconda/envs/bob_env_py27/bin/python', '/var/folders/rr/wl535zcx1bnbl0vs3b8h14l00000gp/T/tmppanFll', '-v', 'develop', '-mxN', '-d', '/Users/zhaoyue/workspace/bob.bio.spear/develop-eggs/tmphtwg0Lbuild'
Seems like some libraries are missing? Can anyone offer some advice? Thanks in advance!