6

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?

Peter Dolan
  • 1,393
  • 1
  • 12
  • 26
Mustafa Kara
  • 61
  • 1
  • 6

3 Answers3

0

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.

liuhuo wan
  • 21
  • 6
0

Installers Info: This package contains files in non-standard labels.

  • linux-64 v19.22.0
  • win-32 v19.9
  • osx-64 v19.22.0
  • win-64 v19.22.0

To install this package with conda run one of the following:

conda install -c conda-forge dlib
conda install -c conda-forge/label/cf201901 dlib
conda install -c conda-forge/label/cf202003 dlib
RITIK KUMAR
  • 137
  • 1
  • 7
-1

Use below command in your script for the first time.

import subprocess
subprocess.check_call(["python", '-m', 'pip', 'install', 'dlib']) # install pkg
user1775015
  • 179
  • 1
  • 6