Closed x0152 closed 4 years ago
I've found solution https://github.com/tiburon-security/jupyterlab_scheduler/pull/3
Sorry haven't had a chance to look at your prs this week because of work - I assume your pr didn't actually fix the issue so you reopened?
To answer your earlier question, it just runs in the user environment / context of whatever account started jupyterlab. For example, in docker jupyterlab is started under a custom account called "jovyan"
Without having had a chance to dig into the code, I assume potential issues could be:
I've tried run command echo '$PATH'. I got output: /bin/:/usr/bin/
but papermill is located /usr/local/bin
I also tried to made links papermill in directory /usr/bin/
, but job failed with error beacose ipython couldn't found libraries that i used in notebook.
It fix allows run command like it was executed by user.
Sorry haven't had a chance to look at your prs this week because of work - I assume your pr didn't actually fix the issue so you reopened? I think is better holding issue opened until you accept pull request or we will fix this in other way
Merged PR - thank you!
Hi! I've created job
papermill /home/<jupyter-user>/test.ipynb /dev/null
When it called i will got error:/bin/sh: 1: papermill: not found
but if i will execute the code in terminal then it are working Under what user is the job executed?