mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
521 stars 419 forks source link

Read.py Error #57

Open JoshuaFurman opened 5 years ago

JoshuaFurman commented 5 years ago

I've followed this tutorial (https://www.piddlerintheroot.com/rfid-rc522-raspberry-pi/) to the T, and I keep getting the error " Traceback (most recent call last): File "Read.py", line 41, in MIFAREReader = MFRC522.MFRC522() File "/home/pi/MFRC522-python/MFRC522.py", line 131, in init spi.openSPI(device=dev,speed=spd) AttributeError: 'module' object has no attribute 'openSPI' " whenever I try to run the Read.py file. Any help?

huhn511 commented 5 years ago

Hey, this trick fixed it for me: https://stackoverflow.com/a/55024642

MilesWK commented 1 year ago

@huhn511 I have the same problem as @JoshuaFurman and that didn't fix it for me. @JoshuaFurman I feel the frustration and and will get back to you when I get more news.