Devon
Importing docx
question im using windmill web IDE and im importing Document from docx like so:
from docx import Document
but i get an error:
ExecutionErr: ExitCode: 1, last log lines:
ine 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/tmp/windmill/wk-default-7c4b588bcc40-N8AmH/01957f5e-1bdb-5979-73ce-9870d33c4812/wrapper.py", line 10, in <module>
from f.Devon.lcm import step_2 as inner_script
File "/tmp/windmill/wk-default-7c4b588bcc40-N8AmH/01957f5e-1bdb-5979-73ce-9870d33c4812/f/Devon/lcm/step_2.py", line 3, in <module>
from docx import Document
File "/tmp/windmill/cache/python_311/docx==0.2.4/docx.py", line 30, in <module>
from exceptions import PendingDeprecationWarning
ModuleNotFoundError: No module named 'exceptions'
problem is the docx is outdated but the guide tells me that windmill uses the newest version any fix for this or what i can do to work around this?
14 replies