Traceback (most recent call last):


 "./bin/pytype", line 13, in <module>

from pytype.tools.analyze_project import main


 "/Users/davidbarker/code/pytype/out/pytype/tools/analyze_project/main.py", line 30, in <module>

from pytype import io


 "/Users/davidbarker/code/pytype/out/pytype/io.py", line 13, in <module>

from pytype import analyze


 "/Users/davidbarker/code/pytype/out/pytype/analyze.py", line 13, in <module>

from pytype import output


 "/Users/davidbarker/code/pytype/out/pytype/output.py", line 11, in <module>

from pytype import typing_overlay


 "/Users/davidbarker/code/pytype/out/pytype/typing_overlay.py", line 8, in <module>

from pytype import collections_overlay


 "/Users/davidbarker/code/pytype/out/pytype/collections_overlay.py", line 12, in <module>

from pytype.pyi import parser


 "/Users/davidbarker/code/pytype/out/pytype/pyi/parser.py", line 9, in <module>

from pytype.pyi import parser_ext
# pytype: disable=import-error
ImportError: cannot import name parser_ext

Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)


 "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details

return _get_module_details(pkg_main_name, error)


 "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details

__import__(pkg_name)


 "/usr/local/lib/python3.6/dist-packages/virtualenv/__init__.py", line 3, in <module>

from .run import cli_run


 "/usr/local/lib/python3.6/dist-packages/virtualenv/run/__init__.py", line 5, in <module>

from ..config.cli.parser import VirtualEnvConfigParser


 "/usr/local/lib/python3.6/dist-packages/virtualenv/config/cli/parser.py", line 6, in <module>

from ..ini import IniConfig


 "/usr/local/lib/python3.6/dist-packages/virtualenv/config/ini.py", line 8, in <module>

from virtualenv.dirs import default_config_dir


 "/usr/local/lib/python3.6/dist-packages/virtualenv/dirs.py", line 5, in <module>

from virtualenv.util.lock import Reentrant
Lock


 "/usr/local/lib/python3.6/dist-packages/virtualenv/util/lock.py", line 11, in <module>

from virtualenv.util.path import Path


 "/usr/local/lib/python3.6/dist-packages/virtualenv/util/path/__init__.py", line 5, in <module>

from ._sync import copy, copytree, ensure_dir, link, symlink


 "/usr/local/lib/python3.6/dist-packages/virtualenv/util/path/_sync.py", line 7, in <module>

from six import PY2, PY3, ensure_text
ImportError: cannot import name 'ensure_text'
