The python module is not enabled properly, can I manually install the python module I need in the container?
I use the httpx module in my python script, httpx supports the http2.0 protocol, and to enable it requires the pip command to install and enable:
pip install httpx[http2]
windmill installs and loads modules automatically by importing module names into the script, but for the httpx module, how do I get it to automatically install and enable http2.0 support, or can I manually enter the docker container and manually execute the pip command to install and enable it? Who can tell me what I should do?
similar issue here, I need to use taxii2-client module in python
On my PC:
pip install taxii2-client
In python:
from taxii2client.v21 import Collection, Server
that works
but in windmill no go... no matter what I try, I haven't tried any manual requirements.txt mentioned here https://www.windmill.dev/docs/advanced/dependencies_in_python#lockfile-per-script-inferred-from-a-requirementstxt, maybe that is the only solution?
@sx98083714 https://www.windmill.dev/docs/advanced/dependencies_in_python#pinning-dependencies-and-requirements
@sx98083714 https://www.windmill.dev/docs/advanced/dependencies_in_python#pinning-dependencies-and-requirements
Yup that fixed it. Thanks :)
@grantith @reaperhammer very good! thanks a lot !