Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TomyTiger opened this issue Mar 26, 2022 · 2 comments
Open

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

TomyTiger opened this issue Mar 26, 2022 · 2 comments

Comments

@TomyTiger
Copy link

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
Copy link

i am having the same problem, can you support?

@Hammer2900
Copy link

Use constants directly

import pywifi

from pywifi import Profile

print(pywifi.AUTH_ALG_OPEN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants