Mary
Mary
WWindmill
Created by Mary on 3/7/2025 in #help
dependencies on remote server
I created a requirments.txt and generated a lockfile by running wmill script generate-metadata ,but when I ran wmill sync push, I don't think the lockfile could be pushed to windmill , I can run the scrip without any issue by using the extension windmill in vs code when I turn on the button of ' use current lockfile' , buth when I login the remote windmill by using a browser, I still have an issue saying can't find the swiftclient module which is used in my code, and when I ran wmill sync pull in vs code , the lockfile will be deleted . My end users will run the code by using browser , may I know how I could set up the environment on remote server to get the lockfile so the swiftclient could be installed when an user runs the code ?
1 replies
WWindmill
Created by Mary on 3/3/2025 in #help
swiftclient can't be installed in windmill
When I ran the statement of import swiftclient by a python script, I had the error below { "error": { "name": "ExecutionErr", "message": "execution error: pip compile failed: Lock file generation failed. command: /usr/local/bin/uv pip compile -q --no-header requirements.in --strip-extras -o requirements.txt --index-strategy unsafe-best-match --cache-dir /tmp/windmill/cache/uv -p 3.11 --python-preference only-managed ExitStatus("uv", 1)" × No solution found when resolving dependencies: ╰─▶ Because there are no versions of swiftclient and you require swiftclient, we can conclude that your requirements are unsatisfiable. May I please have any suggestion, I tried to install some similar modules that could be worked the same as swiftcflient, but the same issue
21 replies