I was trying to setup WSL for Deep Learning/Machine Learning. I have installed Conda environment via WSL. Now I am wondering is there any way to setup atom's hydrogen package to detect conda environments with ipykernels, which are in WSL?
System:
- Windows 10
- Ubuntu 18.04 LTS
- Miniconda for python 3.7(installed in /home/)
Already Tried:
- using
python -m ipykernel install --user --name envName
Thanks
I got it working by setting up a Hydrogen Remote Host.
Then set up a public jupyter server with an empty password as explained in the instructions.
In WSL run:
jupyter notebook --generate-config
and modify the file~/.jupyter/jupyter_notebook_config.py
changing the linec.NotebookApp.token = 'your_secret_token'
Always in WSL run
jupyter lab
open it in your browser atlocalhost:8888
and set an empty password (everybody in your network, and also people outside of it in case you are not behind a firewall, will be able to execute code on your machine if they access to the jupyter server, so be aware of this)Start a notebook with the desired kernel.
Open
Atom > Packages > Hydrogen > Connect to Remote Host
Sometimes nothing happens when you click on 'Connect to Remote Host', in that case just retry, eventually it should show up.