0

I am getting following error "line 30, in from exceptions import PendingDeprecationWarning ModuleNotFoundError: No module named 'exceptions'"

I have imported docx module, yet I am getting this error

import docx

doc = docx.Document() doc.add_paragraph(input(''))

surap
  • 3
  • 5

1 Answers1

0

It seems you installed docx which is not maintained anymore and you should instead install the python-docx package.

Stanislas Morbieu
  • 1,721
  • 7
  • 11