- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025 06:59 AM
Hey,
I am trying to run a job with serverless compute, that runs python scripts.
I need the paramiko package to get my scripts to work. I managed to get it working by doing:
Also, I am not sure what to give as arguments in the environment block, because I read that this is required for the serverless job. I assume I have to fill in the dependencies in another way there now?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025 11:29 AM
Hi @georgemichael40 ,
Put your whl file in the volume and then you can reference it in following way in your DAB file:
dependencies:
- " /Volumes/workspace/default/my_volume/hellopkg-0.0.1-py3-none-any.whl"https://docs.databricks.com/aws/en/compute/serverless/dependencies#-add-dependencies-to-the-notebook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025 11:00 PM
Thanks for your reply.
But the documentation refers to notebooks. I am deploying a DAB that runs a serverless job to run Python scripts. Do you think that would make a difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2025 08:03 AM
Hi,
Can confirm this works! It's
dependencies:
string value of path to the wheel in the volume or workspace.
For me, workspace worked fine.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2025 08:18 AM
Cool, great that it worked 🙂