Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install mitmproxy:

Im trying to install mitmproxy on a Ubuntu 14.04 computer, but I'm getting error. I found on the web how I should install it by using this code:

sudo install pip mitmproxy

So I installed python, now when I run the command it works until I get this problem:

Command python.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography

I tried to update python but still the same Exactly I installed python in this way:

sudo apt-get install python-pyasn1 python-flask python-urwid 

What's wrong???

UPDATE

Here is the pip.log

like image 631
lucgian841 Avatar asked Aug 13 '26 21:08

lucgian841


1 Answers

You can also pip install from github:

In this order:

  1. Install netlib: (sudo) pip install git+https://github.com/mitmproxy/netlib.git
  2. Install mitmproxy: (sudo) pip install git+https://github.com/mitmproxy/mitmproxy.git

This will install all requisite libraries and provide you with the most up-to-date version of mitmproxy.

like image 92
user2573072 Avatar answered Aug 16 '26 20:08

user2573072