Skip to content

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

@niranjanadhav

Description

@niranjanadhav

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions