Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup problem #2

Open
Firespit opened this issue Jul 3, 2015 · 1 comment
Open

python setup problem #2

Firespit opened this issue Jul 3, 2015 · 1 comment

Comments

@Firespit
Copy link

Firespit commented Jul 3, 2015

Hi,
I'm trying to install and follow instructions and got this error :
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-WOQe0h/netlib
Thanks for everything

@boschkundendienst
Copy link

I ran into the same problem because I am not a Python Freak but I googled about "python" and "virtualenv" and in the end I got it working. As far as I remember you just do:

virtualenv ios
This will create a new python environment in the subfolder "ios"

source ios/bin/activate
or
source ios/bin/activate.csh
or
source ios/bin/activate.fish
depending on the shell you use

You should then get a prompt that start with your environment in brackets like this:
(ios) [user@mycomputer]$

Then you can just install mitmproxy with:
pip install mitmproxy

and then execute the script as documented.

If you get errors, it is possible, that your installation already uses python3 and you might have to create a python2 environment instead of a python3 environment. Google will help you to find out! Maybe just use the command "virtualenv2" instead of "virtualenv" and it should work then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants