Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'module' object has no attribute 'getmode' #57

Open
niranjanadhav opened this issue Mar 24, 2023 · 0 comments
Open

AttributeError: 'module' object has no attribute 'getmode' #57

niranjanadhav opened this issue Mar 24, 2023 · 0 comments

Comments

@niranjanadhav
Copy link

Traceback (most recent call last):
File "read.py", line 6, in
reader = SimpleMFRC522()
File "/usr/local/lib/python2.7/dist-packages/mfrc522/SimpleMFRC522.py", line 14, in init
self.READER = MFRC522()
File "/usr/local/lib/python2.7/dist-packages/mfrc522/MFRC522.py", line 138, in init
gpioMode = GPIO.getmode()
AttributeError: 'module' object has no attribute 'getmode'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant