Home Forums Nazca unexpected errors: TypeError: unhashable type: ‘list’ Reply To: unexpected errors: TypeError: unhashable type: ‘list’

#7019
Ronald
Keymaster

Dear Iomuc,

A list object can not be used in Python as a dictionary key, as a list is mutable (it can change) after creation, like append, insert, pop etc. Only immutable objects can be hashed and serve as a key.

Ronald