nteract/papermill

How to NOT specific kernel when run notebook ?

Ouverte

#638 ouverte le 27 oct. 2021

 (2 commentaires) (0 réaction) (0 personne assignée)Python (402 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (5 381 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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 ?

Guide contributeur