[IPython-dev] Default Kernel for Jupyter

John Omernik john at omernik.com
Mon Feb 9 17:05:18 EST 2015


No, using Python2 just because of the comfortable syntax and that's
what the data science team uses.  I guess I could encourage it, but
it's frustrating for the data guys who just want things to be easy an
intuitive :)

With ipython (jupyter) I don't have a jupyter command, so I figured
that the command is actualy ipython notebook --help-all?  Should I
just set the profile for each user to use python2?  I guess, here's a
dumb question, how do we set profile config items in Ipython3? I don't
see the py file in the profile_default, just a sqllite file. (*feels
dumb right now)



On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
> Hey,
>
>
> Le 9 févr. 2015 à 12:34, John Omernik <john at omernik.com> a écrit :
>
>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
>> converting them to the format, but sometimes it changes the kernel to
>> python3.  We were using all Python2, and that's what I'd like to keep
>> using in Jupyter. Is there away to set a default Kernel to be Python2,
>> both for new notebooks and converted notebooks?
>
>
> $ jupyter notebook --help-all
>
> ...
> MappingKernelManager options
> ----------------------------
> --MappingKernelManager.default_kernel_name=<Unicode>
>     Default: 'python3'
>     The name of the default kernel to start
> ...
>
>
> So c.MappingKernelManager.default_kernel_name='python2'
> Or equivalent should work for you.
>
> Have you still considered migrating to Python 3 ?
> --
> M
>
>
>
>> Thanks
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



More information about the IPython-dev mailing list