python-docx | docx | No module named 'exceptions'
If the project is using docx as a reference and installed docx package instead of the python-docx it will lead to following error
ModuleNotFoundError: No module named 'exceptions'To fix this error install python-docx and remove docx.
pip install python-docx
To install python-docx package
Official Documentation available here: https://pypi.org/project/python-docx/pip uninstall docx
To remove installed docx package
Comments
Post a Comment