nteract/papermill

How to NOT specific kernel when run notebook ?

Open

#638 aperta il 27 ott 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (402 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (5381 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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 ?

Guida contributor