install-dlib-python-windows icon indicating copy to clipboard operation
install-dlib-python-windows copied to clipboard

Easy installation of dlib python bindings in windows

Easy Installation of dlib python in Windows

Bored of trying to compile things manually in Windows? Bored of downloading 12GB of Visual Studio just to get a decent windows C compatible compiler? I know :/

I know how complicated/annoying it is to compile dlib, then compile Boost (with python bindings) and then compile it again to get the python api. I lost valuable hours trying to do that and at the end it didnt compile for python because it didnt recognize my Boost installation!!

The easy way: Just dowload from this page (version 18.17) or this link (newer versions of dlib) the Python Wheel file and just pip install it ->

pip install dlib-file.whl

For python 2.7 and win32 just download this file and pip install it.

The hard way: Follow this guide for installing it for python3 using Visual Studio. https://github.com/ageitgey/face_recognition/issues/175