nteract/papermill

How to NOT specific kernel when run notebook ?

Offen

#638 geöffnet am 27.10.2021

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (402 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (5.381 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This is the code I run notebook from python code.

    pm.execute_notebook(
        os.path.join(self.template_path),
        jupyter_full_path,
        parameters=param_dict
    )

However, the notebook (i.e: the template) have kernel in their metadata. So I keep getting the error:

jupyter_client.kernelspec.NoSuchKernel

I just want to run the notebook in current environment same as parent program. How to bypass NoSuchKernel without specific any kernel ?

Contributor Guide