这是我的代码:
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.
为什么会出现这样的错误,它的解决方案是什么?