shareplum icon indicating copy to clipboard operation
shareplum copied to clipboard

ImportError: cannot import name 'etree' from 'lxml' (/tmp/package.zip/lxml/__init__.py)

Open kauetavares opened this issue 3 years ago • 0 comments

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!

kauetavares avatar Mar 07 '22 19:03 kauetavares