Maybe it helps to use a flux based kernel, rather than starting flux first and then calling papermill. A template for a flux kernel is available in https://github.com/pyiron-dev/pyiron-script-job-queue/blob/main/binder/kernel.json .