I have just started using jupyter notebook for my development process. I started by creating a new python environment:
$ conda create -n testenv
Then I activate it:
$ source activate testenv
And install python kernel module:
$ pip install ipykernel
Now that's when the fuzziness begins. I want to create a new kernel specifically to my active environment only. Following documentation, I did:
$ python -m ipykernel install --user --name testenv --display-name "Python (testenv)"
With this I believe I have just created a new Python kernel for the testenv environment to be used within Jupyter Notebook. Now, I want to confirm this information and I check:
$ jupyter kernelspec listAvailable kernels:testenv /home/{{user}}/.local/share/jupyter/kernels/testenvpython2 /home/{{user}}/miniconda2/share/jupyter/kernels/python2$ conda env list# conda environments:#base /home/{{user}}/miniconda2testenv * /home/{{user}}/miniconda2/envs/testenv
I was expecting to see my kernel installed within the testenv environment, something like:
/home/{{user}}/miniconda2/envs/testenv/kernels/testenv
I am failing to see how do the environments and kernels tie together and how can I confirm this information.