nteract/papermill

How to NOT specific kernel when run notebook ?

オープン

#638 opened on 2021/10/27

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (402 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,381 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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 ?

コントリビューターガイド