Closed KimlongSeng closed 2 years ago
/usr/local/lib/python3/dist-packages is the missing pieces for this
Solution: Create a File that link the nfc import (if error code : import nfc, no module name nfc ) $ cd /usr/lib/python3/dist-packages $ sudo su $ cat > path_mypath.pth $ sudo nano path_mypath.pth Type in /usr/local/lib/python3/dist-packages/ /usr/local/include/nfc/
and Ctrl+X And Save, Exit
In top_block.py generated code on line 93
self.nfc_modified_miller_decoder_0 = nfc.modified_miller_decoder(samp_rate)
AttributeError: module 'nfc' has no attribute 'modified_miller_decoder'