1、sudo apt-get install cmake(用默认源,不要用国内源) 2、sudo apt-get install libboost-python-dev 3、pip3 install dlib