When I ran the code, it gave me an error because the archive seemed corrupt. Thanks to this SO answer: https://stackoverflow.com/questions/45179033/unable-to-extract-shape-predictor-68-face-landmarks-dat-for-bz/45179235#45179235 I manually downloaded the archive from http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 and it worked. I don't know if this is just on my setup (Python3 through Anaconda, Windows10) or if the URL as changed?