DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop workin
这个异常报错是导入collections的原因,上面说python3.9版本不在支持collections,建议使用collections.abc
import collections.abc
print(isinstance('hello',collections.abc.Iterable)) #判断是否可以迭代
换成这样就不会报错了。