Load ipynb contained from a different directory
未关闭
- 主要语言
- Jupyter Notebook
- 星标
- 258
- 派生
- 71
- PR 合并指标
- 30 天内没有已合并 PR
描述
Let us suppose my main notebook (main.ipynb) is next to a folder otherpath containing another notebook to be imported (to_be_imported.ipynb).
If I do
`import ipynb.fs.defs.otherpath.to_be_imported`
I get
`ModuleNotFoundError: No module named 'ipynb.fs.defs.otherpath'`
If I move to_be_imported.ipynb in the same folder of the main file, everything works.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the import entry point `ipynb.fs.defs.otherpath.to_be_imported` and compare it with importing `to_be_imported.ipynb` from the same directory. Reproduce the `ModuleNotFoundError` using `main.ipynb` and the `otherpath` folder; done means the nested notebook imports successfully.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- jupyter-notebook
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100