下午好,请帮帮我,我想在windows上安装dlib for python,但是当我在dlib dir或pip.exe install dlib
的cmd中写python.exe setup.py install
时,我有这个错误:
CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache. If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher. Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
-- Check for working C compiler: /usr/bin/gcc.exe
-- Check for working C compiler: /usr/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
CMake 2.8.12 or higher is required. You are running version 2.8.9
-- Configuring incomplete, errors occurred!
error: cmake configuration failed!
我试图用cygwin安装程序更新cygwin的cmake,但是setup.py
使用了cmake的旧版本(2.8.9)。我试着从cygwin的控制台运行setup.py
,但没有看到任何提升(但它安装在我的计算机上)。我在cygwin中有个错误:
我可以更新cygwin的cmake以便在cmd中使用它,或者让cygwin的终端看到Boost吗?在
如果你有水蟒,你可以试试这个
conda安装-c menpo dlib=18.18
我有很多问题,当我试图安装它与pip,但与Python它是可以的
相关问题 更多 >
编程相关推荐