1.引入模块报错
from collections import Iterator,Iterable
报错:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterator,Iterable
2.修改为:
from collections.abc import Iterator,Iterable
转载于:https://www.cnblogs.com/NGU-PX/p/11388827.html
最后
以上就是能干缘分最近收集整理的关于模块导入from collections import Iterator,Iterable失败的全部内容,更多相关模块导入from内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复