我正在运行一个jupyter notebook脚本,使用的是Papermill的python客户端。在运行时,我想指定内核。但是,该脚本运行在与我的活动python shell相同的内核中(通过它,我对papermill进行了API调用,以便运行笔记本的脚本)。我尝试在文档(https://papermill.readthedocs.io/en/latest/usage-execute.html#execute-via-the-python-api)中查找,但徒劳无功import p
line 104, in execute_notebook File "/opt/python3.6/lib/python3.6/site-packages/papermillin execute_notebook File "/opt/python3.6/lib/python3.6/site-packages/papermil
我想使用papermill作为数据科学工作流的一部分来记录实验。关键的想法是,输出笔记本应该作为一个独特的工件存储--实验的一个不变的记录。从纸厂文档来看,我必须指定确切的输出文件名,如下而我真正想要的是papermill local/input.ipynb s3://bkt/output_[UNIQUE HASH HERE
_kwargs) pm.execute_notebook(notebook, output_path, parameters=config)
File "/opt/conda/lib/python3.6/site-packages/papermill/execute.py", line 104, in execute_notebook**engine_