atom-editor - 为 Atom 向氢添加新的 Conda Env

标签 atom-editor jupyter hydrogen

我在我的工作流程中使用了许多 conda 环境,并且喜欢在探索对象时将氢包用于 Atom 编辑器。但是我总是忘记如何将新的 jupyter 内核添加到新环境中,即使它只有两行代码。

那几行代码是什么?

最佳答案

这是 github 问题的链接,其中评论为 answered .

要在终端中运行的两行代码是:

source activate YourEnvNameHeRE
python -m ipykernel install --user --name YourEnvNameHeRE

运行这两行并重新启动 Atom 后,现在将提示您选择在使用 Hydrogen 评估代码时使用的环境。

关于atom-editor - 为 Atom 向氢添加新的 Conda Env,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46415008/

相关文章:

jupyter-notebook - 在 Jupyter 中安装 xeus-cling 后,C++14 不可见(Ubuntu 18.04 - Anaconda)

ipython - 如何选择ipython笔记本中的每个单元格?

jupyter - 使用 ReadTheDocs 托管使用 Jupyter 创建的 Sphinx 文档

atom-editor - 原子和氢 : Output and console

atom-editor - 原子氢 : How is "run cell" used?

javascript - CoffeeScript:Github ATOM,Atom API 的 getSelection 替代品?

javascript - 如何像在 chrome 中一样在 node.js 中使用提示功能

atom-editor - 如何在atom中运行 `git commit`和 `git push`?

python - 如何使用 Hydrogen 运行代码

node.js - JXcore 与 Electron