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 "platform" not defined #20

Open
fildotsh opened this issue Oct 18, 2024 · 1 comment · Fixed by #21
Open

Error "platform" not defined #20

fildotsh opened this issue Oct 18, 2024 · 1 comment · Fixed by #21

Comments

@fildotsh
Copy link

fildotsh commented Oct 18, 2024

Traceback (most recent call last): File "/usr/bin/wifi-deauth", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/wifi_deauth/wifi_deauth.py", line 392, in main if "linux" not in platform: ^^^^^^^^ NameError: name 'platform' is not defined. Did you forget to import 'platform'?

@flashnuke
Copy link
Owner

I'm not sure why it says not defined, but platform might be ambiguous in this context... as it's a variable defines by sys rather than a library
anyhow, while I couldn't reproduce this, I believe you'd want to give this a try: #21

simply pull latest and try again

also, have you run the code directly (python3 ....) or did you first install (pip3 install ...)?

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

Successfully merging a pull request may close this issue.

2 participants