desfire icon indicating copy to clipboard operation
desfire copied to clipboard

No module named protocol

Open eoghanj opened this issue 8 years ago • 2 comments

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!

eoghanj avatar Jul 29 '16 13:07 eoghanj

Hi!

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

https://packaging.python.org/

miohtama avatar Jan 08 '17 20:01 miohtama

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

victorclaessen avatar Jun 06 '20 15:06 victorclaessen