conda and python default kernel

21 views
Skip to first unread message

testb...@gmail.com

unread,
Apr 4, 2017, 10:11:17 AM4/4/17
to Project Jupyter
Hi,
Could anyone provide some details on the below?

I have anaconda2 and anaconda3 installed. In Jupyter Notebook, I see conda and python [default] kernel.

1. What is this conda kernel? When this would be useful?

2. How to remove the conda kernel if I don't need it and add it back later?

3. I see the python [default] kernel. This is confusing as I will be using only the anaconda2 and anaconda3 python kernels.
3.1 When this default kernel will be used or will be useful?
3.2 Can I remove this kernel if I don't need it?
3.3 If I remove now, can I add it back later?


Thanks in advance!

Matthias Bussonnier

unread,
Apr 4, 2017, 12:24:07 PM4/4/17
to jup...@googlegroups.com
On Tue, Apr 4, 2017 at 7:11 AM, <testb...@gmail.com> wrote:
> Hi,
> Could anyone provide some details on the below?
>
> I have anaconda2 and anaconda3 installed.

You shouldn't need to. You can use Python2 and Python3 at the same
time regardless of the anaconda you install.

> In Jupyter Notebook, I see conda
> and python [default] kernel.
>

> 1. What is this conda kernel? When this would be useful?

Conda notebook ships with custom extension that will auto-discover
kernels based on available conda environments. It won't
autodiscover across anaconda install AFAICT.

> 2. How to remove the conda kernel if I don't need it and add it back later?
You might have to uninstall nb_conda_kernels IIRC, just reinstall it
to get things back.

>
> 3. I see the python [default] kernel. This is confusing as I will be using
> only the anaconda2 and anaconda3 python kernels.
> 3.1 When this default kernel will be used or will be useful?
- IIRC that's the same Python than the one the notebook is started
with. That's needed to be sure we have at least one kernel available.
> 3.2 Can I remove this kernel if I don't need it?
- Yes (see above)
> 3.3 If I remove now, can I add it back later?
- Yes. See above, or install the kernelspec by hand.


I'm just confused by the having both anaconda 2 and 3 both installed.
--
M




>
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/9efe408f-22e4-444a-96b5-12839e16a94a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages