无法从Windows 10中的python 3 anaconda python中的集合导入计数器

问题描述 投票:0回答:1

[每当我尝试从“集合导入计数器”执行此操作时,都会得到如下的输出,请让我知道为什么?

[ImportError:无法从'集合'中导入名称'计数器'(C:\ Users \ chandra teja \ Anaconda3 \ lib \ collections__init __。py)

处理完成,退出代码为1。

python-3.x
1个回答
0
投票

使用from collections import Counter注意大写"C"祝你好运

© www.soinside.com 2019 - 2024. All rights reserved.