awkman / pywifi

A cross-platform module for manipulating WiFi devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

TomyTiger opened this issue · 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)