You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module name might have changed from 0.2.4 to 0.3.1 so the import statement went from: from OuiLookup import OuiLookup to from ouilookup import OuiLookup
The 0.3.1 version also throws the following error with Python 3.6:
File "C:\Python36\lib\site-packages\ouilookup\__init__.py", line 23, in <module>
from .main import OuiLookup # noqa: E402
File "<fstring>", line 1
(expression=)
^
SyntaxError: invalid syntax
>>> from OuiLookup import OuiLookup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'OuiLookup'
And this does work:
>>> from ouilookup import OuiLookup
>>> OuiLookup().query('00:00:aa:00:00:00')
[{'0000AA000000': 'XEROX CORPORATION'}]
The module name might have changed from 0.2.4 to 0.3.1 so the import statement went from:
from OuiLookup import OuiLookup
tofrom ouilookup import OuiLookup
The 0.3.1 version also throws the following error with Python 3.6:
Possibly a newer string formatting method that's not compatible with 3.6 according to https://stackoverflow.com/questions/49582183/pythonl-invalid-syntax-file-fstring-line-1
The text was updated successfully, but these errors were encountered: