1
votes

Doing conda update --all and conda install dlib

gives this error:

.2.2 - haa95532_296.tar.zst . You probably need to delete and re - download or re - create this file . Message from libarchive was : \ n \ nFile size could not be restored ' )

( myvenvpy ) ( base ) C : \ Users \ sir > Conda install dlib

Collecting package metadata ( current_repodata.json ) : done

Solving environment : failed with initial frozen solve . Retrying with flexible solve . collecting package metadata ( repodata.json ) : done

Solving environment : failed with initial frozen solve . Retrying with flexible solve .

PackagesNotFoundError : The following packages are not available from current channels :

  • dlib

Current channels :

To search for alternate channels that may provide the conda package you're looking for , navigate to https://anaconda.org and use the search bar at the top of the page .

( myvenvpy ) ( base ) C : \ Users \ sir >

Screenshot of error: Conda install dlib package not found error

4
Hi Rushi, have you tried .2.2 - haa95532_296.tar.zst . You probably need to delete and re - download or re - create this fileWurmD

4 Answers

0
votes

you can also try this pip install dlib

or python3 -m pip install dlib

I think it will works for you

0
votes

I have a dlib installer inside a Dockefile (for OpenCV) that looks like this:

sudo apt-get update && sudo apt-get install -y sudo && rm -rf /var/lib/apt/lists/*

sudo chmod -R 777 ./

sudo apt-get update && sudo apt-get install -y apt-utils build-essential cmake && sudo apt-get install -y libgtk-3-dev && sudo apt-get install -y libboost-all-dev && sudo apt-get install -y default-libmysqlclient-dev

pip install dlib

All of this because of the dependencies.

0
votes

As per Anaconda: dlib

Try conda install -c conda-forge dlib

0
votes

First of all check your python version. Upgrade or downgrade python accordingly . install cmake :- pip install cmake install dlib :- pip install dlib

for anaconda :- install cmake :-conda install -c conda-forge cmake install dlib :- conda install -c conda-forge dlib