Traceback (most recent call last):


 "mypy/checkexpr.py", line 3404, in accept


 "mypy/nodes.py", line 1527, in accept


 "mypy/checkexpr.py", line 234, in visit_call_expr__ExpressionVisitor_glue


 "mypy/checkexpr.py", line 243, in visit_call_expr


 "mypy/checkexpr.py", line 315, in visit_call_expr_inner


 "mypy/checkexpr.py", line 670, in check_call_expr_with_callee_type


 "mypy/checkexpr.py", line 728, in check_call


 "mypy/checkexpr.py", line 835, in check_callable_call


 "mypy/checkexpr.py", line 573, in apply_function_plugin


 ".../lib/python3.7/site-packages/mypy_django_plugin/transformers/init_create.py", line 27, in redefine_and_typecheck_model_init

expected_types = extract_expected_types(ctx, model, is_init=True)


 ".../lib/python3.7/site-packages/mypy_django_plugin/transformers/init_create.py", line 163, in extract_expected_types

autofield_info = api.lookup_typeinfo('django.db.models.fields.AutoField')


 "mypy/checker.py", line 3721, in lookup_typeinfo


 "mypy/checker.py", line 3772, in lookup_qualified
AssertionError: Internal error: attempted lookup of unknown name


Traceback (most recent call last):

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

 "/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 342, in <module>
**keywords_with_side_effects(sys.argv)

 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()

 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)

 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()

 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()

 "/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 119, in finalize_options
self.distribution.ext_modules = get_ext_modules()

 "/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 78, in get_ext_modules
from cryptography.hazmat.bindings.commoncrypto.binding import (

 "/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/commoncrypto/binding.py", line 14, in <module>
class Binding(object):

 "/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/commoncrypto/binding.py", line 36, in Binding
"-framework", "Security", "-framework", "CoreFoundation"

 "/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/utils.py", line 97, in build_ffi_for_binding
extra_link_args=extra_link_args,

 "/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/utils.py", line 105, in build_ffi
ffi = FFI()

 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/api.py", line 59, in **init**
"version mismatch, %s != %s" % (backend.**version**, **version**)
AssertionError: version mismatch, 0.8.2 != 1.7.0