2018-10-09 pywifi模塊

安裝方法:pip3 install pywifi 安裝位置:/usr/local/lib/python3.5/dist-packages/pywifi注意事項:用root賬戶執行程序,否則會提示PermissionError: [Errno 13] Permission denied: '/var/run/wpa_supplicant'

包內文件:

pywifi內文件

testandconnectwifi.py

錯誤信息1 profile=pywifi.profile() # 配置文件

TypeError: 'module' object is not callable

解決辦法:from pywifi import profile

參考:https://blog.csdn.net/flhsxyz/article/details/79207180

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章