Python failed to import pywifi module

has been installed in pip. Hold this error when import pywifi

>>> import pywifi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/pywifi/__init__.py", line 15, in <module>
    from .wifi import PyWiFi
  File "/Library/Python/2.7/site-packages/pywifi/wifi.py", line 15, in <module>
    from .iface import Interface
  File "/Library/Python/2.7/site-packages/pywifi/iface.py", line 15, in <module>
    raise NotImplementedError
NotImplementedError

I installed python2.7.5 and 3.6.5 locally. I tried both versions, but it"s still the same problem

.
Jul.06,2022

python-can-not-import-pywifi" rel=" nofollow noreferrer "> Python can not import pywifi


  • generally installing two versions of Python is prone to installation confusion. You can first uninstall pyWiFi module
  • via pip (pip3) uninstall pywifi .
  • if you want to install Python3 , you can try pip3 install pywifi or Python3-m pip install pywifi
  • if you want to install Python2 , enter pip2 install pywifi or Python-m pip install pywifi on the command line

good luck!

reference from: python-can-not-import-pywifi" rel=" nofollow noreferrer "> python-can-not-import-pywifi" rel= "nofollow noreferrer" > https://stackoverflow.com/que...

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9ba9b-2ea1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9ba9b-2ea1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?