SHARE
TWEET

Untitled

a guest Aug 12th, 2017 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ ./bin/test
  2. Traceback (most recent call last):
  3.   File "venv/bin/mypy", line 7, in <module>
  4.     from mypy.__main__ import console_entry
  5.   File "venv/lib/python3.6/site-packages/mypy/__main__.py", line 3, in <module>
  6.     from mypy.main import main
  7.   File "venv/lib/python3.6/site-packages/mypy/main.py", line 13, in <module>
  8.     from mypy import build
  9.   File "venv/lib/python3.6/site-packages/mypy/build.py", line 31, in <module>
  10.     from mypy.nodes import (MypyFile, Node, ImportBase, Import, ImportFrom, ImportAll)
  11.   File "venv/lib/python3.6/site-packages/mypy/nodes.py", line 11, in <module>
  12.     import mypy.strconv
  13.   File "venv/lib/python3.6/site-packages/mypy/strconv.py", line 10, in <module>
  14.     from mypy.visitor import NodeVisitor
  15.   File "venv/lib/python3.6/site-packages/mypy/visitor.py", line 304, in <module>
  16.     class NodeVisitor(Generic[T], ExpressionVisitor[T], StatementVisitor[T]):
  17.   File "/usr/lib/python3.6/typing.py", line 944, in __new__
  18.     self = super().__new__(cls, name, bases, namespace, _root=True)
  19.   File "/usr/lib/python3.6/typing.py", line 118, in __new__
  20.     return super().__new__(cls, name, bases, namespace)
  21.   File "venv/lib/python3.6/abc.py", line 133, in __new__
  22.     cls = super().__new__(mcls, name, bases, namespace)
  23. TypeError: Cannot create a consistent method resolution
  24. order (MRO) for bases Generic, ExpressionVisitor, StatementVisitor
RAW Paste Data
Top