xantares / nfc-bindings

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

archlinux AttributeError: 'module' object has no attribute 'init' #1

Closed noog closed 9 years ago

noog commented 9 years ago

hello i compiled the last version of python2-nfc and i created a file with your example script but when i execute it i have this error

python2 nfc.py Traceback (most recent call last): File "nfc.py", line 1, in import nfc File "/home/xxx/nfc.py", line 2, in context = nfc.init() AttributeError: 'module' object has no attribute 'init'

xantares commented 9 years ago

hi, that's weird, is your system up to date ? Could you send me the PKGBUILD compilation output ? the PKGBUILD i uploaded had an invalid comma in the arch field, it's fixed now.