These steps worked for me on OSX flawlessly
$ brew install cmake
$ brew install boost-python
$ brew install opencv
$ pip install face_recognition
Verify
$ python
Python 2.7.14 |Anaconda, Inc.| (default, Oct 5 2017, 02:28:52)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import dlib
import face_recognition
import cv2
exit ()