jeudi 4 mai 2017

Error while installing dlib

i followed this tutorial to install dlib but wenn i run pip install dlib i get

Collecting dlib

Using cached dlib-19.4.0.tar.gz Building wheels for collected packages: dlib

Running setup.py bdist_wheel for dlib ... error

Complete output from command /home/leo/.virtualenvs/py3_dlib_tutorial/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-4luevi_i/dlib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpv2rhc6cbpip-wheel- --python-tag cp36:

running bdist_wheel

running build

Detected Python architecture: 64bit

Detected platform: linux

Configuring cmake ...

/usr/bin/cmake: /home/leo/anaconda3/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)

/usr/bin/cmake: /home/leo/anaconda3/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/bin/cmake)

/usr/bin/cmake: /home/leo/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/bin/cmake)

/usr/bin/cmake: /home/leo/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/bin/cmake)

/usr/bin/cmake: /home/leo/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libjsoncpp.so.1)

error: cmake configuration failed!

any suggestions how to fix that?

Aucun commentaire:

Enregistrer un commentaire