![](/img/trans.png)
[英]Saving the output of a cell as a txt file in jupyter notebook
[英]Jupyter Notebook print env yml as cell output without saving to file
如果您没有环境文件,您可以在 jupyter notebook 中调用 conda 命令并使用 shell 运行它:
! conda env export --from-history
--from --from-history
选项将确保您的 output 只是您通过 conda 安装的软件包。 可以通过以下方式检索完整的规范:
! conda env export
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.