<p>我想将<code>dlib</code>与python一起用于图像识别。我的python应用程序在Windows 10上与OpenCV一起运行得很好,但是当我想从<code>cmd</code>安装<code>dlib</code>时,它会给出以下错误:</p>
<pre><code>error: Cannot find cmake, ensure it is installed and in the path. You
can install cmake using the instructions at https://cmake.org/install/
You can also specify its path with --cmake parameter.
</code></pre>
<p>我该怎么办?</p>
<p><a href="https://i.stack.imgur.com/3DsdV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3DsdV.png" alt="My command prompt error"/></a></p>