'发电机'对象在访问python中的树级别时没有属性错误

时间:2016-03-10 16:13:38

标签: python nltk

这是我的代码:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'generator' object has no attribute '__getitem__'

以下是错误消息:

- The requested package bower-asset/bootstrap-datepicker could not be found in any version, there may be a typo in the package name.

为什么会出现这样的错误,它的解决方案是什么?

0 个答案:

没有答案