RE:Status of ipython-qtconsole
> I think in jupyter this is meant to be handled by the --kernel option - ie
> jupyter qtconsole --kernel python2
ok it works
> jupyter qtconsole --kernel python3
$ jupyter qtconsole --kernel python3
Traceback (most recent call last):
File "/usr/bin/jupyter-qtconsole", line 9, in <module>
load_entry_point('qtconsole==4.2.1', 'gui_scripts', 'jupyter-qtconsole')()
File "/usr/lib/python2.7/dist-packages/qtconsole/qtconsoleapp.py", line 396, in main
JupyterQtConsoleApp.launch_instance()
File "/usr/lib/python2.7/dist-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 595, in launch_instance
app.initialize(argv)
File "<decorator-gen-115>", line 2, in initialize
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/qtconsole/qtconsoleapp.py", line 367, in initialize
JupyterConsoleApp.initialize(self,argv)
File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", line 334, in initialize
self.init_kernel_manager()
File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", line 288, in init_kernel_manager
self.kernel_manager.start_kernel(**kwargs)
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 230, in start_kernel
kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments)
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 170, in format_kernel_cmd
cmd = self.kernel_spec.argv + extra_arguments
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 82, in kernel_spec
self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name)
File "/usr/lib/python2.7/dist-packages/jupyter_client/kernelspec.py", line 175, in get_kernel_spec
raise NoSuchKernel(kernel_name)
jupyter_client.kernelspec.NoSuchKernel: No such kernel named python3
given the existence of non-python kernels (irkernel, ihaskell, iruby,
ijavascript, etc...)
But if I list the kernel available I have just
~$ jupyter-kernelspec list
Available kernels:
python3 /usr/lib/python3/dist-packages/ipykernel/resources
so it is really strange...
Cheers
Fred
Reply to: