These are chat archives for ipython/ipython

26th
May 2015
Thomas A Caswell
@tacaswell
May 26 2015 02:56
Evening, anyone around?
Kyle Kelley
@rgbkrk
May 26 2015 03:12
Kind of
Thomas A Caswell
@tacaswell
May 26 2015 03:51
@rgbkrk Sorry, missed your message and am now heading to bed
Kyle Kelley
@rgbkrk
May 26 2015 03:52
That's ok, have a good night.
Thomas A Caswell
@tacaswell
May 26 2015 03:52
night
Jonathan Frederic
@jdfreder
May 26 2015 15:35
@akloster in the Python definition of the widget, you see view_model and view_name. Both are sent to the front-end and used by require to load the widget front-end code.
Andreas Klostermann
@akloster
May 26 2015 16:56
@jdfreder and how does the tornado server know where the static file is?
I mean, just knowing view_model and view_name isn't enough, the static file has to come from somewhere doesn't it? I may be missing something obvious here...
Jonathan Frederic
@jdfreder
May 26 2015 17:00
Ah yes, so the setup.py file
include something that calls out to
ipython install-nbextension
which copies the JS into your nbextension directory (or symlinks it)
then the files are available under the /nbextensions url
that's the tid bit done by jupyter-pip atm.
Zachary Jones
@bigzachattack
May 26 2015 18:44
I am a running IPython 3 with JupyterHub (so running on Python3). I use KernelSpecManager.whitelist and omit the python3 kernel but include python2. When I open notebooks with an old notebook format, I get the error: "Kernel Not Found: I couldn't find a kernel matching python3. Please select a kernel..."
Is there a way to configure IPython to make python2 the default kernel?
Thomas Kluyver
@takluyver
May 26 2015 20:01
hi @bigzachattack . Yes, I think that's possible, let me just look at some code.
Min RK
@minrk
May 26 2015 20:04
I believe it is c.MultiKernelManager.default_kernel_name = 'python2'
Thomas Kluyver
@takluyver
May 26 2015 20:17
yep, that looks right. Thanks!
Zachary Jones
@bigzachattack
May 26 2015 20:19
@minrk @takluyver Thanks!