nteract/papermill

How to NOT specific kernel when run notebook ?

Aberta

#638 aberto em 27 de out. de 2021

 (2 comentários) (0 reação) (0 responsável)Python (402 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (5.381 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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 ?

Guia do colaborador