Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/Users/bryan/anaconda3/lib/python3.5/site-packages/matplotlib/pyplot.py", line 114, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()

 "/Users/bryan/anaconda3/lib/python3.5/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)

 "/Users/bryan/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py", line 19, in <module>
from matplotlib.backends import _macosxRuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are Working with Matplotlib in a virtual enviroment see 'Working with Matplotlib in Virtual environments' in the Matplotlib FAQ
Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/sanic-0.5.4-py3.5.egg/sanic/app.py", line 495, in handle_request

response)


 "/usr/local/lib/python3.5/dist-packages/sanic-0.5.4-py3.5.egg/sanic/app.py", line 621, in _run_response_middleware

_response = await _response


 "/home/oeasy/.local/lib/python3.5/site-packages/sanic_cors/extension.py", line 237, in cors_response_middleware

elif resp.headers.get(ACL_ORIGIN):
AttributeError: 'NoneType' object has no attribute 'headers'
