'How to resolve Error: b"wlan0 Interface doesn't support scanning."
I have a python project which requires wifi package. It can be downloaded via:
pip install wifi
This package is supposed to help users utilize this command: "sudo wifi scan" on the condition that their machines are running on Linux.
Inasmuch as I'm a fan of all operating systems, I am enjoying both Windows and Linux in my machine by the help of WSL. The problem is, I can't use wifi package in my activated development environment which already has the following python packages installed:
pbkdf2 1.3
pip 20.0.2
pkg-resources 0.0.0
setuptools 44.0.0
wifi 0.3.8
more details
After pip-installing wifi package in the environment, I tried the following:
wifi scan
And what I got from my terminal in return, was the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/sbin/iwlist'
a stackoverflow user suggested here to install wireless-tools which leads to another error when doing "wifi scan":
Error: b"wlan0 Interface doesn't support scanning."
Any ideas?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
