我刚刚在我的新电脑上安装了 python3 并尝试安装一些库(numpy
, cython
, cymem
) using pip
我得到
AttributeError: module 'collections' has no attribute 'Iterable'
但图书馆喜欢nltk
and cytest
安装好了
Collections.Iterable 已弃用。
将其替换为 collections.abc.Iterable。
请参阅此答案以了解兼容性:https://stackoverflow.com/a/53978543/13369176 https://stackoverflow.com/a/53978543/13369176
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)