kickthemout icon indicating copy to clipboard operation
kickthemout copied to clipboard

No module named 'kamene'

Open TrancedZen opened this issue 5 years ago • 30 comments

I'm installing this on Parrot OS and everything has gone smooth until I try to run kickthemout.py I get this message. ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.

If you still cannot resolve this error, please submit an issue here: https://github.com/k4m4/kickthemout/issues

Details: No module named 'nmap'

Nmap version 7.70

TrancedZen avatar Nov 08 '18 03:11 TrancedZen

Hi there. Have you followed the Debian installation process as stated in the readme file?

k4m4 avatar Nov 08 '18 07:11 k4m4

Hi there. Have you followed the Debian installation process as stated in the readme file?

Yes I've run the following commands in order

  1. sudo apt-get update && sudo apt-get install nmap
  2. git clone https://github.com/k4m4/kickthemout.git
  3. cd kickthemout/
  4. sudo -H pip3 install -r requirements.txt ""This command tells me that all requirements are satisfied""
  5. sudo python3 kickthemout.py ""This command tells me Details: No module named 'nmap'""

I'm able to install this onto Kali linux with no issues, but for whatever reason I'm having issues installing it on Parrot OS. I'd love to have this running on Parrot OS. Thanks for any help at all!

TrancedZen avatar Nov 08 '18 14:11 TrancedZen

Does sudo apt-get install nmap succeed?

k4m4 avatar Nov 08 '18 18:11 k4m4

I'm having the same problem on macOS Mojave.

rickwierenga avatar Nov 09 '18 15:11 rickwierenga

Does sudo apt-get install nmap succeed?

Yes I've already installed it. When I use the command "sudo apt-get install nmap" it says "nmap is already the newest version (7.70+dfsg1-3parrot1)"

TrancedZen avatar Nov 09 '18 21:11 TrancedZen

Could you please share the response of the sudo -H pip3 install -r requirements.txt command?

k4m4 avatar Nov 10 '18 10:11 k4m4

me too , i have the same problem i installed pip3 and nmap but i got this error >>> "No module named 'nmap'"

muhamedahmedd avatar Nov 10 '18 19:11 muhamedahmedd

Im in Debian, And is the same for me

ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.

   If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues


   Details: No module named kamene.config

And i have the module installed.

  Requirement already satisfied: kamene in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 1))
  Requirement already satisfied: python-nmap in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 2))
  Requirement already satisfied: netifaces in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 3))

tomasojea avatar Nov 11 '18 01:11 tomasojea

I reinstall and now it says: ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.

    If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues

        Details: No module named 'zlib'

And again:

 Requirement already satisfied: kamene in /usr/local/lib/python3.5/dist-packages (from -r 
 requirements.txt (line 1))
 Requirement already satisfied: python-nmap in /usr/local/lib/python3.5/dist-packages (from -r 
 requirements.txt (line 2))
 Requirement already satisfied: netifaces in /usr/local/lib/python3.5/dist-packages (from -r 
 requirements.txt (line 3))


 

tomasojea avatar Nov 11 '18 01:11 tomasojea

@tomasojea, which version of Python are you running?

k4m4 avatar Nov 11 '18 14:11 k4m4

just do pip3 install kamene . That worked for me.

rickwierenga avatar Nov 11 '18 15:11 rickwierenga

@tomasojea, which version of Python are you running?

Hi, Im using Python 3.6.0

tomasojea avatar Nov 11 '18 16:11 tomasojea

Try running sudo apt-get build-dep python3.6 & sudo apt-get install zlib1g-dev.

k4m4 avatar Nov 11 '18 17:11 k4m4

Try running sudo apt-get build-dep python3.6 & sudo apt-get install zlib1g-dev.

When i run apt-get build-dep python3.6 it says: E: Can't find a source to download for Python3.6

tomasojea avatar Nov 11 '18 22:11 tomasojea

Maybe try sudo apt-get build-dep python3 then.

k4m4 avatar Nov 12 '18 11:11 k4m4

Did sudo apt-get install zlib1g-dev not solve your error?

k4m4 avatar Nov 12 '18 11:11 k4m4

Having the same issues as tomasojea running both apt-get build-dep python3. and sudo apt-get build-dep python3 outputs:E: You must put some 'source' URIs in your sources.list

ralphmensah avatar Nov 12 '18 16:11 ralphmensah

apt-get install zlib1g-dev

This is the output zlib1g-dev is already in its most recent version (1: 1.2.8.dfsg-5)

tomasojea avatar Nov 12 '18 22:11 tomasojea

And KickThemOut is still giving you a No module named 'zlib' error?

k4m4 avatar Nov 13 '18 08:11 k4m4

And KickThemOut is still giving you a No module named 'zlib' error?

Yes.

tomasojea avatar Nov 13 '18 22:11 tomasojea

I am running parrot, mac OS, and kali linux and in all of them they say

**ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.

If you still cannot resolve this error, please submit an issue here: https://github.com/k4m4/kickthemout/issues

Details: No module named kamene.config**

GORPHO avatar Nov 16 '18 01:11 GORPHO

use command python3

Im in Debian, And is the same for me

ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.

   If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues


   Details: No module named kamene.config

And i have the module installed.

  Requirement already satisfied: kamene in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 1))
  Requirement already satisfied: python-nmap in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 2))
  Requirement already satisfied: netifaces in /usr/local/lib/python3.5/dist-packages (from -r 
  requirements.txt (line 3))

use python3 kickthemout.py if you upgrade your system then this command will be work

HvSpy avatar Nov 19 '18 10:11 HvSpy

@k4m4 ok a bit of topic but it might help the developer...when linux is installed as mbr the script is working, but the gpt w/e....it does not. i had to reinstall it from mbr to gpt cause i broke my pc. and it was working before...now it does not work.....i have the same error with this missing config, when i run as python3 the script just starts but does nothing (cant use the terminal)

olekmorawski avatar Nov 29 '18 19:11 olekmorawski

I had to reinstall python 3 and pip 3 then it worked sudo apt-get install python3-pip working fine now

70rxy avatar Dec 09 '18 08:12 70rxy

Good to hear that @70rxy.

k4m4 avatar Dec 10 '18 20:12 k4m4

I am using kali linux in virtual box and i used all the above commands mentioned in comments but still the command is not running i.e python kickthemout.py it is showing kamene is not found. Is there any way?

prasadarun avatar Jun 30 '19 12:06 prasadarun

Finally after hours of searching for help, I found the solution for me:

  1. I tried to install the modules manualy, but this didn't work, because there were a "SSL module in Python is not available" error, so I fixed it with installing the new version of Python like this:

Install the necessary packages for Python and ssl: $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Download and unzip "Python-3.6.8.tar.xz" from https://www.python.org/ftp/python/ into your home directory.

Open terminal in that directory and run: $ ./configure

Build and install: $ sudo make && sudo make install

(Source: https://stackoverflow.com/questions/41328451/ssl-module-in-python-is-not-available-when-installing-package-with-pip3)

  1. Then tried to install it again, but that didn't worked too, so I needed to update "pip" with "sudo -H pip3 install --upgrade pip"

  2. Then I uninstalled all packages with "pip3 uninstall -r requirements.txt"

  3. Then I just installed them with the new version with "pip3 install -r requirements.txt" and opened the Python file with "python3 kickthemout.py" after.

I hope I could help some of you :)

SenoxCode avatar Aug 18 '19 22:08 SenoxCode

Finally after hours of searching for help, I found the solution for me:

1. I tried to install the modules manualy, but this didn't work, because there were a "SSL module in Python is not available" error, so I fixed it with installing the new version of Python like this:

Install the necessary packages for Python and ssl: $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Download and unzip "Python-3.6.8.tar.xz" from https://www.python.org/ftp/python/ into your home directory.

Open terminal in that directory and run: $ ./configure

Build and install: $ sudo make && sudo make install

(Source: https://stackoverflow.com/questions/41328451/ssl-module-in-python-is-not-available-when-installing-package-with-pip3)

1. Then tried to install it again, but that didn't worked too, so I needed to update "pip" with "**sudo -H pip3 install --upgrade pip**"

2. Then I uninstalled all packages with "pip3 uninstall -r requirements.txt"

3. Then I just installed them with the new version with "**pip3 install -r requirements.txt**" and opened the Python file with "**python3 kickthemout.py**" after.

I hope I could help some of you :)

Thanks bro it WORKED. :+1:

Neffexe avatar Aug 20 '19 19:08 Neffexe

Finally after hours of searching for help, I found the solution for me:

  1. I tried to install the modules manualy, but this didn't work, because there were a "SSL module in Python is not available" error, so I fixed it with installing the new version of Python like this:

Install the necessary packages for Python and ssl: $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Download and unzip "Python-3.6.8.tar.xz" from https://www.python.org/ftp/python/ into your home directory.

Open terminal in that directory and run: $ ./configure

Build and install: $ sudo make && sudo make install

(Source: https://stackoverflow.com/questions/41328451/ssl-module-in-python-is-not-available-when-installing-package-with-pip3)

  1. Then tried to install it again, but that didn't worked too, so I needed to update "pip" with "sudo -H pip3 install --upgrade pip"
  2. Then I uninstalled all packages with "pip3 uninstall -r requirements.txt"
  3. Then I just installed them with the new version with "pip3 install -r requirements.txt" and opened the Python file with "python3 kickthemout.py" after.

I hope I could help some of you :)

thanks bro you are awesome !!

hazem22123 avatar Sep 19 '19 16:09 hazem22123

CRITICAL: Can't open /proc/net/dev ! CRITICAL: Can't open /proc/net/route ! CRITICAL: Can't open /proc/net/dev ! How to fix it?

Michaelbai2631 avatar Oct 01 '22 01:10 Michaelbai2631