dlib needs to compile from source (CMake + Visual Studio Build Tools), which fails on most machines out of the box. Easiest fix on Windows: grab a prebuilt wheel matching your exact Python version ...