Red Hat elementtree module conflicts with openpyxl/shared/compat/elementtree.py
Created originally on Bitbucket by rdude
Hi there.
Red Hat python distribution contains ElementTree library delivered as... elementtree. (So you need "import iterparse from elementtree.ElementTree").
This situation is making problem with openpyxl: above import is nowhere mentioned in openpyxl/shared/compat/elementtree.py file and the name openpyxl/shared/compat/elementtree.py is messing with system elementtree lib.
It is recommended to rename openpyxl/shared/compat/elementtree.py to element_tree.py or elementtree_.py and import from there.