Python3 - wifi 库没有 运行 和 Cell.all("wlan0")

Python3 - wifi library does not run with Cell.all("wlan0")

我正在尝试为 python3 (https://wifi.readthedocs.io/en/latest/index.html) 使用 wifi 库,但是当我使用 Cell.all("wlan0") 时,我收到此错误:

Microsoft Windows [Versione 10.0.10586]
(c) 2015 Microsoft Corporation. Tutti i diritti sono riservati.

C:\WINDOWS\system32>python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from wifi import Cell, scheme
>>> list(Cell.all("wlan0"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\users\-----\appdata\local\programs\python\python35\lib\site-packages\wifi\scan.py", line 39, in all
    stderr=subprocess.STDOUT)
  File "c:\users\-----\appdata\local\programs\python\python35\lib\subprocess.py", line 629, in check_output
    **kwargs).stdout
  File "c:\users\-----o\appdata\local\programs\python\python35\lib\subprocess.py", line 696, in run
    with Popen(*popenargs, **kwargs) as process:
  File "c:\users\-----\appdata\local\programs\python\python35\lib\subprocess.py", line 950, in __init__
    restore_signals, start_new_session)
  File "c:\users\-----\appdata\local\programs\python\python35\lib\subprocess.py", line 1220, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
>>>

p.s。对不起我的英语不好(我是意大利人)

您收到此错误是因为您是 运行 Windows。如文档中所述,wifi 库仅适用于 Linux 系统。