I am trying to build a new app on my website to allow me to push form data to a doc and figured the python-docx library would be perfect to accomplish this. I got onto my virtual work environment and then I pip installed it as so
pip install python-docx
No problem, installed successfully.
Tried to import it as suggest in the documentation and I keep getting this error
ModuleNotFoundError: No module named 'docx'
I checked the virtual environment folder and see it was installed. I ran the following line as well
pip show python-docx
and it showed it was installed in the right location as well.
I read on github the same error happening and the lxml lib needed to be uninstalled. I tried that, didn't work. Uninstalled python-docx and reinstalled (which reinstalled lxml), didn't work. Not sure what else to do at this point.