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

ValueError: max() arg is an empty sequence #506

Open
Mus90YT opened this issue Apr 3, 2022 · 1 comment
Open

ValueError: max() arg is an empty sequence #506

Mus90YT opened this issue Apr 3, 2022 · 1 comment

Comments

@Mus90YT
Copy link

Mus90YT commented Apr 3, 2022

Hi, when I try to install it (after checking requirements) I got this error:

root@localhost:~/kickthemout# python3 kickthemout.py
CRITICAL: Can't open /proc/net/dev !
CRITICAL: Can't open /proc/net/route !
CRITICAL: Can't open /proc/net/dev !
Traceback (most recent call last):
File "/root/kickthemout/kickthemout.py", line 756, in
defaultInterface = getDefaultInterface()
File "/root/kickthemout/kickthemout.py", line 154, in getDefaultInterface
network, netmask, _, interface, address, _ = max(iface_routes, key=lambda item:item[1])
ValueError: max() arg is an empty sequence

I've tried so much things but no one didn't work. Please help me, THANKS!

@Michaelbai2631
Copy link

Are you install kali linux in termux?.the problem is the same as mine

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