[每当我尝试从“集合导入计数器”执行此操作时,都会得到如下的输出,请让我知道为什么?
[ImportError:无法从'集合'中导入名称'计数器'(C:\ Users \ chandra teja \ Anaconda3 \ lib \ collections__init __。py)
处理完成,退出代码为1。
使用from collections import Counter注意大写"C"祝你好运
from collections import Counter
"C"