Error running mitmproxy after install


#1

hi pals!
I’m having the following error message after installing mitmproxy. Installs works fine, but when I try to run for the very first time, Iget this message

root@debian:~# /root/.local/bin/mitmproxy --host
Traceback (most recent call last):
File “/root/.local/bin/mitmproxy”, line 11, in
sys.exit(mitmproxy())
File “/root/.local/lib/python3.5/site-packages/mitmproxy/tools/main.py”, line 67, in mitmproxy
console_options = options.Options()
File “/root/.local/lib/python3.5/site-packages/mitmproxy/options.py”, line 123, in init
self.rfile = rfile
File “/root/.local/lib/python3.5/site-packages/mitmproxy/optmanager.py”, line 111, in setattr
self._typecheck(attr, value)
File “/root/.local/lib/python3.5/site-packages/mitmproxy/optmanager.py”, line 122, in _typecheck
typecheck.check_type(attr, value, expected_type)
File “/root/.local/lib/python3.5/site-packages/mitmproxy/utils/typecheck.py”, line 29, in check_type
types = typeinfo.union_params
AttributeError: ‘_Union’ object has no attribute ‘union_params

Any Idea what could be??? My SO is linux debian jessie
Thanks
Mariano


#2

What’s your output for mitmproxy --sysinfo? This looks like you are not using 1.0.2