Cannot import name'const' from 'pywifi'(unknown location)
TomyTiger opened this issue · 2 comments
TomyTiger commented
import time
import pywifi
from pywifi import const
Traceback (most recent call last):
File "<pyshell#4>", line 1, in
from pywifi import const
ImportError: cannot import name 'const' from 'pywifi' (unknown location)
can you help to check what's the problem?
receptopalak commented
i am having the same problem, can you support?
Hammer2900 commented
Use constants directly
import pywifi
from pywifi import Profile
print(pywifi.AUTH_ALG_OPEN)