I get this really weird ImportError when starting from collections import defaultdict :
ImportError: cannot import name defaultdict
I am running python 2.7, and the strange part is that in other parts of my application this exact same import line succeeds.
I thought this was circular import, but that doesn't really matter when it comes to python built-in modules.
Any ideas why I get this error?
Tzach source share