I have read the documentation, read the forums, searched high and low, changed my install procedure several times and I cannot get past this. Asking the mitmproxy gods for a little help.
pi@raspberrypi:~ $ sudo mitmproxy -T --host
#################################################
mitmproxy only supports Python 3.5 and above!
#################################################
Traceback (most recent call last):
File “/usr/local/bin/mitmproxy”, line 11, in
sys.exit(mitmproxy())
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/tools/main.py”, line 59, in mitmproxy
from mitmproxy.tools import console
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/tools/console/init.py”, line 1, in
from mitmproxy.tools.console import master
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/tools/console/master.py”, line 24, in
from mitmproxy.tools.console import flowview
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/tools/console/flowview.py”, line 9, in
from mitmproxy import contentviews
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/contentviews/init.py”, line 24, in
from . import (
File “/usr/local/lib/python3.4/dist-packages/mitmproxy/contentviews/auto.py”, line 1, in
from mitmproxy import contentviews
ImportError: cannot import name 'contentviews’
pi@raspberrypi:~ $ python3.5 -V
Python 3.5.2
pi@raspberrypi:~ $ python -V
Python 2.7.9
pi@raspberrypi:~ $ python3 -V
Python 3.5.2