代码里写了
from docx import Document并且Document 也安装成功了,但是还是标红,网上找的各种解决方法都试过没用后来发现---
应该换成python的安装路径:
问题解决~~完美!