Skip to content

Install local packages on dask_gateway #133

Answered by TomAugspurger
jgomezdans asked this question in Q&A
Discussion options

You must be logged in to vote

You might have a couple options:

  1. If your package is just a single python module and doesn't do any fancy package things, you can use UploadFile to distribute the file to the workers: https://distributed.dask.org/en/stable/plugins.html?highlight=UploadFile#distributed.diagnostics.plugin.UploadFile
  2. You can put your package somewhere publicly accessible (e.g. GitHub) and use the PipInstall plugin from there
  3. Write your own plugin that uploads the file (maybe using UploadFile) and then pip installs it from the worker's local copy.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jgomezdans
Comment options

Answer selected by jgomezdans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants