解决方法: 先将原来安装好的docx包卸载: pip uninstall docx 重新装: pip install python-docx 之后,from docx import Document 就不会报错了。