You should not have been able to.
The import normally would be from xml.etree.ElementTree import ...
; the top-level package name is xml.etree
, not etree
.
It looks as if you added the xml.etree
package to the Python sys.path
module search path. Don't do that. Remove C:\Program Files\Python\EPD-7.3-2x64\Lib\xml\etree
from your sys.path
(or the PYTHONPATH
environment variable) and import from the correct top-level package name instead.