Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8588

RE:Status of ipython-qtconsole

Path csiph.com!news.freedyn.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject RE:Status of ipython-qtconsole
Date Sat, 11 Jun 2016 23:10:01 +0200
Message-ID <rIYkh-87V-3@gated-at.bofh.it> (permalink)
References <rABXz-41A-1@gated-at.bofh.it> <rBfUZ-4A7-5@gated-at.bofh.it> <rIYkh-87V-5@gated-at.bofh.it> <rITDY-5fl-11@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Jun 11 21:00:15 2016
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=-1.426 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.426, THREADTOPIC=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Thread-Topic Status of ipython-qtconsole
Thread-Index AdGx/7trc4sCgqnHTuORYIYiEOyDYQBWfVeABCd5kn///+Y/gIAAbgVn
Accept-Language fr-FR, en-US
Content-Language fr-FR
X-Originating-IP [195.221.0.171]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13919
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A2A20EC3B8560D408356CAC2FC148E53B307A711@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 68
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 11 Jun 2016 20:43:55 +0000
X-Original-Message-ID <A2A20EC3B8560D408356CAC2FC148E53B307A711@SUN-DAG3.synchrotron-soleil.fr>
X-Original-References <A2A20EC3B8560D408356CAC2FC148E53B3072845@SUN-DAG3.synchrotron-soleil.fr> <20160521140957.GZ2718@betterave.cristau.org> <A2A20EC3B8560D408356CAC2FC148E53B307A67B@SUN-DAG3.synchrotron-soleil.fr>,<575C3777.4040702@chronitis.net> <575C3777.4040702@chronitis.net>
Xref csiph.com linux.debian.maint.python:8588

Show key headers only | View raw


> 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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-05-19 21:40 +0200
  Re: Status of ipython-qtconsole Julien Cristau <jcristau@debian.org> - 2016-05-21 16:20 +0200
    RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-11 18:10 +0200
      Re: Status of ipython-qtconsole Gordon Ball <gordon@chronitis.net> - 2016-06-11 18:10 +0200
        RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-11 23:10 +0200
          RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-29 18:10 +0200

csiph-web