jasonrollins / shareplum

Pythonic SharePoint
MIT License
179 stars 96 forks source link

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

Open kauetavares opened 2 years ago

kauetavares commented 2 years ago

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!