【发布时间】:2026-02-08 07:25:01
【问题描述】:
headers = {"X-RJM-API-Key": "my API key here"}
url = "the url"
response = urllib2.Request(url, headers)
re = urllib2.urlopen(response)
以上内容应“返回可用于导出的 JSON 编码图表列表”。
但我只是得到 TypeError: unhashable type
有什么想法吗?
谢谢!
【问题讨论】:
-
你在哪里得到这个错误?你能发布完整的回溯吗?