Traceback (most recent call last):


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1664, in <module>

main()


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1658, in main

globals = debugger.run(setup['file'], None, None, is_module)


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1068, in run

pydev_imports.execfile(file, globals, locals)
# execute the script


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "/Users/vikas/Documents/fynd/gringotts/app.py", line 7, in <module>

from sanic_cors import CORS, cross_origin


 "/Users/vikas/Documents/fynd/venv/gringotts/lib/python3.6/site-packages/sanic_cors/__init__.py", line 11, in <module>

from .decorator import cross_origin


 "/Users/vikas/Documents/fynd/venv/gringotts/lib/python3.6/site-packages/sanic_cors/decorator.py", line 16, in <module>

from .core import *


 "/Users/vikas/Documents/fynd/venv/gringotts/lib/python3.6/site-packages/sanic_cors/core.py", line 14, in <module>

from sanic.server import CIDict
ImportError: cannot import name 'CIDict'


Traceback (most recent call last):

 "<string>", line 3, in <module>

 "/tmp/pip-micropy-venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library

 "/tmp/pip-micropy-venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/setuptools/extension.py", line 1, in <module>
from distutils.core import Extension as _Extension

 "/tmp/pip-micropy-venv/lib/python2.7/distutils/__init__.py", line 22, in <module>
from distutils import dist, sysconfig

 "/usr/lib/python2.7/distutils/dist.py", line 9, in <module>
import sys, os, re

 "re.py", line 1, in <module>
import ffi
ImportError: No module named ffi