Dask scheduler cannot find python library

When I use guild run dask:scheduler with staged guild runs, those staged guild runs cannot find one of my Python libraries. The guild runs work if I run them outside of the dask scheduler.

This particular Python library is not part of my Python virtual environment but is discovered by Python through my PYTHONPATH or PATH.

The terminal I am running the dask scheduler in has the same environment variables.

Any ideas?

Sorry for the late reply. A number of posts here have fallen through the cracks. Taking a look at this now.

Please let me know if you need support with this. I know it’s an old topic.