Mitmproxy does not working on Kali Linux

Can you help me please? :c
For the second day, I can not understand what’s going on with my mitmproxy. I updated it, reinstalled it, but nothing helped. I hope, you can explain, what wrong.

root@droox:~# mitmproxy 
Traceback (most recent call last):
  File "/usr/bin/mitmproxy", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3049, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3033, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3062, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 660, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 858, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing==3.5.2.2' distribution was not found and is required by mitmproxy

Thx everybody, who will help

Hi,

Did you take a look at http://docs.mitmproxy.org/en/stable/install.html? I’d recommend just using the prebuilt binaries, or installing Python 3.5 etc.