papermill
papermill copied to clipboard
papermill can't execute notebook %run
In my notebook, I want to run some other notebooks with %run, it can execute successfully on jupyter but could not run by papermill. Please tell me how to make papermill work with this?
So one of the issues is captured here https://github.com/jupyter/nbclient/issues/48 -- there's already a PR for that https://github.com/ipython/ipython/pull/12301 to fix the lack of an error response.
If you're in a notebook already, why not just use papermill.execute_notebook(...) in python rather than using %run? If you really just want to use the command line %%bash works better for most cases I have found.