【发布时间】:2018-12-10 21:33:20
【问题描述】:
我有一个安装在 Binder 上的 Jupyter 笔记本。一般来说,它工作得很好,我在 binder/environment.yml 中指定了我的依赖项。但是,我的依赖项之一——xlwt——被忽略了,即使它在我的环境文件中。
我所有的其他依赖项都是从 environment.yml 中正确提取的,所以我想知道有什么区别。 xlwt 不是在 notebook 中直接调用的,而是被 pandas 用来导出到 Excel 中的。
查看构建日志,我发现该模块从未安装到环境中。有没有办法强制呢?也许我应该改用 Dockerfile?
https://mybinder.readthedocs.io/en/latest/using.html#preparing-a-repository-for-binder
【问题讨论】: