【debug】moduleNotFoundError:No module named ‘exceptions‘

前述:

在cmd中使用 pip3 install docx 安装模块 docx 后,发现不能正常使用,并报错 moduleNotFoundError:No module named ‘exceptions’

解决方法如下:

1、卸载原来安装的docx

pip uninstall docx

2、安装 python-docx 模块即可

pip install python-docx

猜你喜欢

转载自blog.csdn.net/qingzhantianxia/article/details/121355540
今日推荐