【发布时间】:2018-07-15 10:02:04
【问题描述】:
我想在 Windows 10 中使用 cmd 使用 pip install dlib 安装 dlib 但它显示以下三个错误: CMakeLists.txt 中的 CMake 错误: 发电机
NMake Makefiles
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
信息: pip 9.0.1 来自 d:\python36\lib\site-packages (python 3.6) cmake 0.9.0 Windows 10 专业版(64 位) 版本:10.0.16299 Build 16299
【问题讨论】:
-
通过编辑到您的问题中添加 python、pip、cmake 和 win10 的版本信息:例如命令行:
pip -V提供 pip 和 python 信息。 -
pip 9.0.1 from d:\python36\lib\site-packages (python 3.6) cmake 0.9.0 windows 10 pro(64-bit) 版本:10.0.16299 Build 16299 请帮帮我
-
@OwaseSayyed 你在 Win 10 上安装 dlib 有没有运气?我也有同样的问题。 Python 3.7、Win 10 (x64)、pip 18、Anaconda 5.3