PyPandoc in combination with PyInstaller
问题 I installed PyInstaller to create executables for my python scripts, and that works fine. I used PyPandoc to create .docx reports, which also run fine when the normal python files are run, but not from the PyInstaller generated executable. It gives the error: Traceback (most recent call last): File "src\flexmodel_postcalc.py", line 295, in postcalculate_everything File "src\flexmodel_postcalc.py", line 281, in generate_report_docx File "src\flexmodel_report_docx.py", line 118, in generate