awkman/pywifi

Cannot import name'const' from 'pywifi'(unknown location)

TomyTiger opened this issue · 2 comments

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?

i am having the same problem, can you support?

Use constants directly

import pywifi

from pywifi import Profile

print(pywifi.AUTH_ALG_OPEN)