There is an option to get rid of the native kernel, set the following
option to False:

KernelSpecManager.ensure_native_kernel : Bool

Default: True

If there is no Python kernelspec registered and the IPython kernel is
available, ensure it is added to the spec list.
I think that could help if I understood the requirement correctly.

Cheers.


2018-04-27 12:30 GMT-03:00 Thomas Kluyver <[email protected]>:

> It's a special fallback which Jupyter will always find if it can import
> the ipykernel package. The easiest way to 'get rid' of it is to use the
> name 'python3' for one of your other kernels (probably the python 3.6 one).
>
> If all of your kernels are in separate environments from your notebook
> server, you can also get rid of it by removing the 'ipykernel' package.
>
> There is also a config option KernelSpecManager.whitelist, but it's a bit
> clumsy to use it for this, because you'd have to update it any time you add
> another kernel.
>
> Thomas
>
>
> On 27 April 2018 at 17:00, <[email protected]> wrote:
>
>> I am setting up Jupyter Hub for the first time, and I have no previous
>> experience with the Jupyter systems, and request a little handholding.
>>
>> I have successfully setup Jupyter to create notebooks using Python 2.7,
>> 3.4, and 3.6 as well as R.  My custom entries are all in subdirectories of
>> /usr/share/jupyter/kernels.
>>
>> There is an "extra" kernel that I can't figure out how to remove, labeled
>> "python3".  From the command line I can see:
>>
>> # jupyter kernelspec list
>> Available kernels:
>>   python3      /usr/lib/python3.4/site-packages/ipykernel/resources
>>   ir           /usr/share/jupyter/kernels/ir
>>   python2.7    /usr/share/jupyter/kernels/python2.7
>>   python3.4    /usr/share/jupyter/kernels/python3.4
>>   python3.6    /usr/share/jupyter/kernels/python3.6
>>
>> # jupyter kernelspec remove python3
>> Couldn't find kernel spec(s): python3
>>
>> How do I get rid of this, or at least prevent it from showing up in the
>> "New notebook" dropdown box within Jupyterhub?
>>
>> Thanks,
>>
>> -Dj
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jupyter/458f3e3c-93fd-4460-8ff1-dd016652b0c6%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/458f3e3c-93fd-4460-8ff1-dd016652b0c6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAOvn4qiVdeQ50qso4eNyHFB7OvZ2fEj6pW9_K-avvHEjNzn02g%40mail.
> gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAOvn4qiVdeQ50qso4eNyHFB7OvZ2fEj6pW9_K-avvHEjNzn02g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Damián Avila*

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAH%2BmRR05GMhPxgtsamX%3DcofSkrKiqeF5aFUcXxQga2SJXTQyvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to