Traceback (most recent call last):


 "facerec_from_webcam.py", line 40, in <module>

face_locations = face_recognition.face_locations(rgb_frame)


 "/usr/local/lib/python3.5/dist-packages/face_recognition-1.2.2-py3.5.egg/face_recognition/api.py", line 118, in face_locations

return [_trim_css_to_bounds(_rect_to_css(face), img.shape) for face in _raw_face_locations(img, number_of_times_to_upsample, model)]


 "/usr/local/lib/python3.5/dist-packages/face_recognition-1.2.2-py3.5.egg/face_recognition/api.py", line 102, in _raw_face_locations

return face_detector(img, number_of_times_to_upsample)
RuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1

Traceback (most recent call last):

 "/Users/dpb/py33env/lib/python3.3/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)

 "/Users/dpb/py33env/lib/python3.3/site-packages/IPython/extensions/tests/test_cythonmagic.py", line 48, in test_cython
ip.run_cell_magic('cython', '', code)

 "/Users/dpb/py33env/lib/python3.3/site-packages/IPython/core/interactiveshell.py", line 2124, in run_cell_magic
result = fn(magic_arg_s, cell)

 "<string>", line 2, in cython

 "/Users/dpb/py33env/lib/python3.3/site-packages/IPython/core/magic.py", line 192, in <lambda>
call = lambda f, *a, **k: f(*a, **k)

 "/Users/dpb/py33env/lib/python3.3/site-packages/IPython/extensions/cythonmagic.py", line 251, in cython
build_extension.run()

 "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/command/build_ext.py", line 354, in run
self.build_extensions()

 "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/command/build_ext.py", line 463, in build_extensions
self.build_extension(ext)

 "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/command/build_ext.py", line 518, in build_extension
depends=ext.depends)

 "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)

 "/usr/local/Cellar/python3/3.3.1/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/unixccompiler.py", line 118, in _compile
raise CompileError(msg)distutils.errors.CompileError: command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' failed with exit status 1