Skip to content Skip to sidebar Skip to footer

Ubuntu Python: Unable To Pip Install Dlib - Failed Building Wheel For Dlib And Machine Is Almost Stuck

I am trying to install dlib (machine learning library) for my django python environment. however, i cant get it installed. there is error and stuck. based on this instruction, this

Solution 1:

Try using the version of dlib in this pull request https://github.com/davisking/dlib/pull/1040. It removes the dependency on boost and should therefore fix your problem.

Solution 2:

install dlib on ubuntu20.04 dlib 19.22.0

git clone https://github.com/Universe-ML21/script_install_dlib.git
sudo chmod +x script_install_dlib/auto_dlib.sh
bash script_install_dlib/auto_dlib.sh

https://stackoverflow.com/a/67294391/14309748

Solution 3:

This worked for me.

pip install cmake sudo pip install dlib

enter image description hereenter image description here

Post a Comment for "Ubuntu Python: Unable To Pip Install Dlib - Failed Building Wheel For Dlib And Machine Is Almost Stuck"