python 3.8x中,使用docx库的时候出错解决办法。使用的时候,出现:
moduleNotFoundError:No module named 'exceptions
python3.x版本移除了exceptions模块,但是docx包中引用了该模块
安装最新版python-docx模块即可 :pip install python-docx
python 3.8x中,使用docx库的时候出错解决办法。使用的时候,出现:
moduleNotFoundError:No module named 'exceptions
python3.x版本移除了exceptions模块,但是docx包中引用了该模块
安装最新版python-docx模块即可 :pip install python-docx