myself_Maulida\bab3-documentClustering\clusters.py", line for i in range(len(clust[0].vec))] TypeError: 'float' object has no attribute '__getitem__'
这是我的密码,有人能帮忙吗?
然而,当我这样调用列表中的某一项时:---------------------------------------------------------------------------<ipython-input-240-a69904524460> in <module>()
TypeError: 'NoneType' object has no attribute '_
python2.7/site-packages/kivy/lang.py", line 1437, in parse_level TypeError: 'NoneType' object has no attribute '__getitem__'
我需要在python代码中定义函数on_release吗?
wtr.writerow( [x,i])--------------------------------------------------------------------------- 8 a = 0 #initial
TypeError: 'file' object has no attribute '__getitem_