docx2csv icon indicating copy to clipboard operation
docx2csv copied to clipboard

ModuleNotFoundError when importing docx2csv

Open ap-Codkelden opened this issue 2 years ago • 0 comments

After an unsuccessful installation attempt from pip (see #14), I downloaded docx2csv sources from this repository and try to install the utility with

python3 setup.py install

It installed successfully, but when I try to import it with

import docx2csv

I received a ModuleNotFoundError:

 ModuleNotFoundError: No module named 'exceptions'

I look up this message and find that module python-docx is not installed. After installing python-docx module, import of the docx2csv works correctly.

So I suggest adding python-docx module as a dependency of the docx2csv to fix this bug.

ap-Codkelden avatar Jan 10 '23 20:01 ap-Codkelden