title: Pip3 can't install face_recognition on macOS
body: <p>On macOS I ran this command in Terminal:</p>
  
  <pre><code>sudo pip3 install face_recognition
  </code></pre>
  
  <p>It started installing and then threw this error:</p>
  
  <blockquote>
    <p>ERROR: Command errored out with exit status 1:
    /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c
    'import sys, setuptools, tokenize; sys.argv[0] =
    '"'"'/private/tmp/pip-install-75ks5d9l/dlib/setup.py'"'"';
    <strong>file</strong>='"'"'/private/tmp/pip-install-75ks5d9l/dlib/setup.py'"'"';f=getattr(tokenize,
    '"'"'open'"'"', open)(<strong>file</strong>);code=f.read().replace('"'"'\r\n'"'"',
    '"'"'\n'"'"');f.close();exec(compile(code, <strong>file</strong>, '"'"'exec'"'"'))'
    install --record /private/tmp/pip-record-bze0mci9/install-record.txt
    --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/dlib
    Check the logs for full command output.</p>
  </blockquote>
  
  <p>I read a suggestion about installing <code>dlib</code> first which also threw an error. How can I fix this?</p>