1
嘗試安裝用於Python的Dlib庫時,使用本教程http://dlib.net/compile.html。爲python安裝Dlib庫時出錯
本教程說,要做到這一點 -
cd examples
mkdir build
cd build
cmake ..
cmake --build . --config Release
我創建了一個構建,當我給的命令cmake的..
它表明我這個錯誤 -
CMake Error: The source directory "C:/Python27/dlib-19.4.0/python_examples"
does not appear to contain CMakeLists.txt.
您試圖編譯python的例子,它不需要被編譯。只有C++的例子可以被編譯。只需直接使用* .py文件即可 –