Open lcheylus opened 2 years ago
With Python 3.10 (on Debian testing), I have the error Error: module 'collections' has no attribute 'Iterable'. Indeed, it seems that collections.Iterable is deprecated since Python 3.9.
Error: module 'collections' has no attribute 'Iterable'
collections.Iterable
After some debugging, the issue is in print_charts function.
print_charts
Possible fix? https://github.com/vim13/tweets_analyzer/commit/b503af3165427e74575999b28826eac0725d034f
import collections collections.Iterable = collections.abc.Iterable
With Python 3.10 (on Debian testing), I have the error
Error: module 'collections' has no attribute 'Iterable'
. Indeed, it seems thatcollections.Iterable
is deprecated since Python 3.9.After some debugging, the issue is in
print_charts
function.