Traceback (most recent call last):


 "/usr/bin/mitmproxy", line 11, in <module>

load_entry_point('mitmproxy==2.0.2', 'console_scripts', 'mitmproxy')()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 572, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2752, in load_entry_point

return ep.load()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2405, in load

return self.resolve()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/lib/python3/dist-packages/mitmproxy/tools/main.py", line 12, in <module>

from mitmproxy.tools import cmdline
# noqa


 "/usr/lib/python3/dist-packages/mitmproxy/tools/cmdline.py", line 10, in <module>

from mitmproxy.addons import view


 "/usr/lib/python3/dist-packages/mitmproxy/addons/__init__.py", line 7, in <module>

from mitmproxy.addons import onboarding


 "/usr/lib/python3/dist-packages/mitmproxy/addons/onboarding.py", line 2, in <module>

from mitmproxy.addons.onboardingapp import app


 "/usr/lib/python3/dist-packages/mitmproxy/addons/onboardingapp/app.py", line 8, in <module>

from mitmproxy.proxy import config


 "/usr/lib/python3/dist-packages/mitmproxy/proxy/__init__.py", line 2, in <module>

from .root_context import RootContext


 "/usr/lib/python3/dist-packages/mitmproxy/proxy/root_context.py", line 3, in <module>

from mitmproxy.proxy import protocol


 "/usr/lib/python3/dist-packages/mitmproxy/proxy/protocol/__init__.py", line 39, in <module>

from .tls import TlsClientHello


 "/usr/lib/python3/dist-packages/mitmproxy/proxy/protocol/tls.py", line 7, in <module>

from mitmproxy.contrib import tls_parser


 "/usr/lib/python3/dist-packages/mitmproxy/contrib/tls_parser.py", line 8, in <module>

from construct import (Array, Bytes, Struct, UBInt16, UBInt32, UBInt8, PascalString, Embed, TunnelAdapter, GreedyRange, Switch, OptionalGreedyRange, Optional)
ImportError: cannot import name 'UBInt16'

Traceback (most recent call last):


 "/usr/bin/terminator", line 48, in <module>

import terminatorlib.optionparse


 "/usr/lib/python3/dist-packages/terminatorlib/optionparse.py", line 24, in <module>

from . import config


 "/usr/lib/python3/dist-packages/terminatorlib/config.py", line 75, in <module>

from configobj import ConfigObj, flatten_errors


 "/usr/lib/python3/dist-packages/configobj.py", line 22, in <module>

import six
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
