python2.7 + ubuntu14.4 + dlib19.7
0、首先需要Cmake以及编译C++成python程序的工具
sudo apt-get install libboost-python-dev cmake
1、download dlib19.7 from http://dlib.net/
2、unzip the package
tar xvf [filename]
3、install it
sudo python setup.py install
4、wait to finished
import dlib
OK