When the Python interpreter cannot find a specified data or method attribute on an object that allows for attribute references, it will raise an “AttributeError” exception. When you get an attribute error in Python, it means you tried to access the attribute value of, or assign an attribute value to, a Python object or class instance in which that attribute simply does not exist. Writer Bio

How to Get Rid of an Attribute Error in Python - 49