[IPython-dev] Default Kernel for Jupyter

Thomas Kluyver takowl at gmail.com
Mon Feb 9 17:18:10 EST 2015


We don't create the config files until you ask for them - running 'ipython
profile create' will create them for the default profile.

On 9 February 2015 at 14:11, John Omernik <john at omernik.com> wrote:

> Derp, I got it, I had to create a new profile, and then copy the .py
> files into the default. (you may question why I am using the default
> like that, and it's mainly because I can't figure out how to tell
> jupyterhub to use a specific profile)
>
> On Mon, Feb 9, 2015 at 4:05 PM, John Omernik <john at omernik.com> wrote:
> > 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
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/e51189b6/attachment.html>


More information about the IPython-dev mailing list