Adding New Conda Env to Hydrogen for Atom

大兔子大兔子 提交于 2019-12-04 13:31:41

问题


I work with many conda environments in my workflow and like to use the hydrogen package for the Atom Editor when I am exploring objects. However I always forget how to add a new jupyter kernel to the new environments even though it is only two lines of code.

What are those lines of code?


回答1:


Here is the link to the github issue where the comment is answered.

The two lines of code to be run in your terminal are these:

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

After you run these two lines and restart Atom, you will now be prompted to choose which environment you use when evaluating code using Hydrogen.



来源:https://stackoverflow.com/questions/46415008/adding-new-conda-env-to-hydrogen-for-atom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!