I'm trying to use the library in AWS Glue and in the lib import this error appears:
ImportError: cannot import name 'etree' from 'lxml' (/tmp/package.zip/lxml/init.py)
I've tried use defusedxml replacing the import lines and I have this:
AttributeError: module 'defusedxml.ElementTree' has no attribute 'Element'
Hello guys!
I'm trying to use the library in AWS Glue and in the lib import this error appears: ImportError: cannot import name 'etree' from 'lxml' (/tmp/package.zip/lxml/init.py)
I've tried use defusedxml replacing the import lines and I have this: AttributeError: module 'defusedxml.ElementTree' has no attribute 'Element'
Could you help me?
Thank you!