title: How to install dlib for python on mac?
body: <p>I'm getting an error when trying to install dlib on Python 3.7 on macOS with</p>
  <pre class="lang-none prettyprint-override"><code>pip3 install dlib
  </code></pre>
  <p>I have installed CMake, so that is not the problem.<br />
  I'm getting these error messages:</p>
  <pre class="lang-none prettyprint-override"><code>Failed building wheel for dlib
  </code></pre>
  <p>and</p>
  <pre class="lang-none prettyprint-override"><code>Command &quot;/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c &quot;import setuptools, tokenize;__file__='/private/var/folders/j2/nvk5521j2vn9s1w95_0vlwkm0000gn/T/pip-install-ls2e_3mr/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))&quot; install --record /private/var/folders/j2/nvk5521j2vn9s1w95_0vlwkm0000gn/T/pip-record-hy3hu262/install-record.txt --single-version-externally-managed --compile&quot; 
  failed with error code 1 in /private/var/folders/j2/nvk5521j2vn9s1w95_0vlwkm0000gn/T/pip-install-ls2e_3mr/dlib/ 
  </code></pre>
  <p>at the end in red. The reason I need dlib is to install face_recognition.</p>