xantares / nfc-bindings

scripting language bindings for libnfc
BSD 3-Clause "New" or "Revised" License
23 stars 9 forks source link

ImportError: No module named _nfc #2

Closed sk25649 closed 9 years ago

sk25649 commented 9 years ago

i@raspberrypi ~/nfc_madness/nfc-bindings/python/examples $ python quick_start_example.py Traceback (most recent call last): File "quick_start_example.py", line 7, in import nfc File "/home/pi/nfc_madness/nfc-bindings/python/examples/nfc.py", line 30, in _nfc = swig_import_helper() File "/home/pi/nfc_madness/nfc-bindings/python/examples/nfc.py", line 22, in swig_import_helper import _nfc ImportError: No module named _nfc

I am getting this while running examples...

xantares commented 9 years ago

you're not supposed to have a copy of nfc.py in /home/pi/nfc_madness/nfc-bindings/python/examples/ follow the installation instruction from the readme