I installed mitmproxy this morning and I started seeing this in my console:
ImportError: No module named urwid
After a bit of Googling I found a post on the TinyCoreLinux forum that implies there may have been a hiccup with the urwid module between versions 2.6 and 2.7. I don't use Python often enough to understand how to manage its dependencies. Could somebody shine some light on what I would do to fix the missing urwid module on my system? I'm running OS X Lion with Python 2.7.
Go to http://excess.org/urwid/ and download the link titled "Download Latest Stable Version: urwid-X.X.X.tar.gz".
Once you download it, unzip the file.
Open the terminal and change to the unzipped directory. Probably something like
cd ~/Downloads/urwid-X.X.X
Run the install script with sudo python setup.py install
It should compile and install, and then mitmproxy
should run fine.