得到错误' int'对象没有属性' __ getitem __'

时间:2015-02-13 13:07:51

标签: python python-2.7 scrapy

我是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__'

0 个答案:

没有答案
相关问题