TypeError: Object of type dict_values is not JSON serializable 发布于 2020-08-06| 分类于 Python 需要修改为: list(my_dict.values()) 在python3中dict.values() 不是list而是views。 In Python3 dict.values() returns “views” instead of lists.