Install Dlib in Anaconda Python

Mustafa Kara picture Mustafa Kara · Mar 29, 2018 · Viewed 8.8k times · Source

I'm trying to install the dlib package in Anaconda by running the following:

conda install -c menpo dlib

I'm getting the following error:

UnsatisfiableError: The following specifications were found to be in conflict:
- dlib
- zict
Use "conda info <package>" to see the dependencies for each package.

How can I solve this problem?

Answer

liuhuo wan picture liuhuo wan · Apr 8, 2018

You should go to the Python Index Page to download the specific whl for your python, then put it into site-packages folder.

cd into this folder and use the command "pip install XXX.whl"

Attention you should notice:

1 make sure boost,boost-python,opencv-python have already been installed.

2 use the command print(pip.pep425tags.get_supported()) to learn which specific wheel your python support.

3 The dlib version should match your python version.