ImportError: No module named packaging.version

Hey all,

Ive been following this on an rpi3 running the newest raspian version. I used a slightly different beginning to this project, setting up an AP according to this link and essentially I cannot seem to launch mitmproxy.

I installed the dependancies and the software via “sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
sudo apt-get install mitmproxy”

When I launch the program from the terminal it fails with ImportError: No module named packaging.version. Any advice?

cheers,

Please take a look at http://docs.mitmproxy.org/en/stable/install.html for installation instructions. I only briefly looked at the document you linked:

  • We now require Python 3
  • If you google for “ImportError: No module named packaging.version”, you should find some posts explaining that your pip version is outdated.