You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to run the Calc and Simple examples found in the ipython-kernel/examples folder, and noticed that the installKernelspec function is calling ipython kernelspec ... (an outdated way of doing it) instead of jupyter kernelspec ... (the new way).
As-is, I get the following error when attempting to install the simple-calc-example kernel:
ben@zagreus:~/oss/IHaskell/ipython-kernel$ cabal run simple-calc-example -- install
Resolving dependencies...
Up to date
Installing kernelspec...
[TerminalIPythonApp] WARNING | Unrecognized alias: 'user', it will have no effect.
[TerminalIPythonApp] WARNING | File 'kernelspec' doesn't exist
When I change the string "ipython" to "jupyter", the kernel installs without any issue and I'm able to open it from a running Jupyter notebook server.
Proposed Change
call jupyter instead of ipython in installKernelspec and anywhere else the change is needed
(optional) update comments / function / package names to reflect the split between Jupyter and IPython.
this is a breaking change to the package names, though, so understandable if the renaming is rejected
however, Jupyter has been separate from IPython since 2014, so perhaps it would be more clear if IHaskell reflected this change
I wanted to run the
Calc
andSimple
examples found in theipython-kernel/examples
folder, and noticed that theinstallKernelspec
function is callingipython kernelspec ...
(an outdated way of doing it) instead ofjupyter kernelspec ...
(the new way).IHaskell/ipython-kernel/src/IHaskell/IPython/EasyKernel.hs
Lines 94 to 116 in 8afa4e2
Error
As-is, I get the following error when attempting to install the
simple-calc-example
kernel:When I change the string
"ipython"
to"jupyter"
, the kernel installs without any issue and I'm able to open it from a running Jupyter notebook server.Proposed Change
jupyter
instead ofipython
ininstallKernelspec
and anywhere else the change is neededJupyter
andIPython
.References
The text was updated successfully, but these errors were encountered: