TypeError: unhashable type: ‘dict’说明字典嵌套的用法不对。python 不支持dict的key为 list或dict类型,因为list和dict 类型是unhashable(不可哈希)的。 正解:最外面用中括号**[]**