pip - Cannot install bob.measure python package -
i have installed dependencies of bob.measure according graph presented in https://github.com/idiap/bob/wiki/dependencies , https://github.com/idiap/bob/wiki/installation:
however, cannot install package traceback:
omar@ubuntuv2:~/bob.measure$ sudo python setup.py traceback (most recent call last): file "setup.py", line 50, in <module> boost_modules = boost_modules, file "/usr/local/lib/python2.7/dist-packages/bob/blitz/extension.py", line 52, in __init__ bobextension.__init__(self, *args, **kwargs) file "/usr/local/lib/python2.7/dist-packages/bob/extension/__init__.py", line 294, in __init__ bob_includes, bob_libraries, bob_library_dirs, bob_macros = get_bob_libraries(self.bob_packages) file "/usr/local/lib/python2.7/dist-packages/bob/extension/__init__.py", line 186, in get_bob_libraries pkg = importlib.import_module(package) file "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) file "/usr/local/lib/python2.7/dist-packages/bob/math/__init__.py", line 6, in <module> bob.extension.load_bob_library('bob.math', __file__) file "/usr/local/lib/python2.7/dist-packages/bob/extension/__init__.py", line 237, in load_bob_library ctypes.cdll.loadlibrary(full_libname) file "/usr/lib/python2.7/ctypes/__init__.py", line 443, in loadlibrary return self._dlltype(name) file "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) oserror: /usr/local/lib/python2.7/dist-packages/bob/math/libbob_math.so: undefined symbol: dsyevd_
all bob.measure dependencies date. have ubuntu 14.04 system.
install dependencies on ubuntu:
sudo apt-get install libboost-all-dev sudo apt-get install libblitz0-dev sudo apt-get install cmake sudo apt-get install libhdf5-serial-dev sudo apt-get install libtiff5 sudo apt-get install libtiff5-dev sudo apt-get install libtiff-tools sudo apt-get install giflib-dbg
try installing using pip
$ pip install numpy $ pip install bob.extension $ pip install bob.blitz $ pip install bob.core $ pip install bob.io.base $ pip install bob.io.image
install bob.measure
install following dependencies if not present
sudo apt-get install libopenblas-dev sudo apt-get install libcppnetlib-dev sudo apt-get install python-netlib apt-get install libfreetype6-dev
use pip3
sudo pip3 install bob.measure