【Python-Debuge】moduleNotFoundError:No module named ‘exceptions’
When using python to operate the doc file, an error occurred: the
reason is that the docx installed through pip is not applicable:
Solution: uninstall docx, install python-docx
There are two installation methods. You can enter pip uninstall docx and pip install python-docx through the cmd command line. If it is pycharm, it is simpler as follows: