我是python中的新手,但没有获得相同的代码是运行核心文件但不能使用scrapy
'int' object has no attribute '__getitem__'
File "/root/Desktop/crawler/webcrawler/webcrawler/spiders/regex.py", line 161, in colorz
test = test + (p.coords[v] - clusters[i].center.coords[v]) ** 2
exceptions.TypeError: 'int' object has no attribute '__getitem__'