pip install docx 使用docx 包 python3.0不支持,会出错 需要安装 python-docx python-docx 和docx 是不一样的 pip install python-docx 可以解决问题