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

error: /usr/bin/python: No module named pip #107

Closed
3 tasks done
omarbakeer opened this issue Apr 29, 2017 · 6 comments
Closed
3 tasks done

error: /usr/bin/python: No module named pip #107

omarbakeer opened this issue Apr 29, 2017 · 6 comments
Assignees
Labels

Comments

@omarbakeer
Copy link

omarbakeer commented Apr 29, 2017

Checklist for submitting an issue to KickThemOut:

  • I have carefully read the README file and haven't managed to resolve my issue.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • I am running the latest version of KickThemOut.

  • OS name & version: Linux 14.04

  • Python version: both 2.7 and 3.5

  • Scapy version: 2.2.0

  • Nmap version: 6.40

running this code:
$ sudo python -m pip install -r requirements.txt

gets me this error:
/usr/bin/python: No module named pip

I know python 2.7 is required to run this command, but I already have it, now how can I solve that issue ?

@k4m4 k4m4 self-assigned this May 7, 2017
@k4m4 k4m4 added the question label May 7, 2017
@k4m4
Copy link
Owner

k4m4 commented May 7, 2017

Hi there. Try running this: $ sudo apt-get install python-pip. Please let me know if this resolved your issue. Thanks.

@leo9722
Copy link

leo9722 commented Jun 10, 2017

sorry i have the same problem and is not working with $ sudo apt-get install python-pip

@k4m4
Copy link
Owner

k4m4 commented Jun 11, 2017

Could you be a little more specific? What's the error? @leo9722
@omarbakeer Did my response work for you? Thanks.

@omarbakeer
Copy link
Author

yes somehow @k4m4
but still I get this error :

File "kickthemout.py", line 13, in <module>
    import urllib2 as urllib
ImportError: No module named 'urllib2'

I'm working with Python : 3.5.2 and I think it's the problem , if you can tell me how to enable Python 2.7 and disable the 3.5- version, maybe it will work.

@k4m4
Copy link
Owner

k4m4 commented Jun 17, 2017

Try running $ sudo python2 kickthemout.py. @omarbakeer

@omarbakeer
Copy link
Author

@k4m4 it worked man (Y) thanks

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

No branches or pull requests

3 participants