WindmillWWindmill
Powered by
DevonD
Windmill•13mo ago•
13 replies
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?
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Importing cheerio
cali (brazil)Ccali (brazil) / help
3y ago
Importing a workspace
d10sfanDd10sfan / help
2y ago
problem importing azure.storage.filedatalake
MearthyMMearthy / help
15mo ago
Importing pgClient when using bun
KanaKKana / help
3y ago