collections isn’t a PyPI package that you install with pip.
collections
It’s a module in the standard library that’a always present: https://docs.python.org/3/library/collections.html
You just have to import it.
2.1m questions
2.1m answers
60 comments
57.0k users