这是我运行学校的 wifi .py 文件进行安全登录时获得的输出。
我“python SecureW2_JoinNow.py”
我已经通过电子邮件向他们发送了相关信息,但想尝试一下并在此处发布,这可能是我的做法。
我无法理解这个错误,尽管最后一行让我认为这是我的问题。
全新安装,所以也许就是这样......
Traceback (most recent call last):
File "SecureW2_JoinNow.py", line 252, in <module>
main()
File "SecureW2_JoinNow.py", line 248, in main
nm.connect()
File "SecureW2_JoinNow.py", line 196, in connect
wireless_device = nm_iface.GetDeviceByIpIface('wlan0')
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.NetworkManager.UnknownDevice: No device found for the requested iface.