WindmillWWindmill
Powered by
DevonD
Windmill•12mo 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,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 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
14mo ago
Importing pgClient when using bun
KanaKKana / help
3y ago