Open charithjp opened 8 months ago
Me too:
Following https://pypi.org/project/ouilookup/#:~:text=from%20OuiLookup%20import%20OuiLookup gives an error:
>>> 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'}]
So change in documentation?
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