0

When I try to import docx I receive the following error. I use python 3.8.8 (I installed the library from pip doc-x) some help?

ImportError
c:\program64\python\python\lib\site-packages\docx\opc\oxml.py in <module>
     10 from __future__ import absolute_import, print_function, unicode_literals
     11 
---> 12 from lxml import etree
     13 
     14 from .constants import NAMESPACE as NS, RELATIONSHIP_TARGET_MODE as RTM

ImportError: dynamic module does not define module export function (PyInit_etree)
  • 1
    Does this answer your question? [Python unable to find lxml module](https://stackoverflow.com/questions/14241685/python-unable-to-find-lxml-module) – cbo Oct 10 '22 at 12:43

0 Answers0