miohtama / desfire

MIFARE DESFire NFC communication protocol for Python
https://desfire.readthedocs.org
BSD 3-Clause "New" or "Revised" License
45 stars 13 forks source link

No module named protocol #1

Open eoghanj opened 8 years ago

eoghanj commented 8 years ago

Hi I've just installed desfire, however when I run an example (https://desfire.readthedocs.io/en/latest/usage.html#id2), I am getting the following error: from desfire.protocol import DESFire ImportError: No module named protocol Any ideas on how to resolve this? Thanks!

miohtama commented 7 years ago

Hi!

How did you install? Did you follow the official package installation guide?

https://packaging.python.org/

victorclaessen commented 4 years ago

Same thing happened to me when I named the example file desfire.py. Solution: rename the example file to something else like test.py.