Path: csiph.com!news.freedyn.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: RE:Status of ipython-qtconsole Date: Sat, 11 Jun 2016 23:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Jun 11 21:00:15 2016 Old-Return-Path: 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: archive/latest/13919 List-ID: List-URL: 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: X-Original-References: <20160521140957.GZ2718@betterave.cristau.org> ,<575C3777.4040702@chronitis.net> <575C3777.4040702@chronitis.net> Xref: csiph.com linux.debian.maint.python:8588 > I think in jupyter this is meant to be handled by the --kernel option - i= e > 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 load_entry_point('qtconsole=3D=3D4.2.1', 'gui_scripts', 'jupyter-qtcons= ole')() File "/usr/lib/python2.7/dist-packages/qtconsole/qtconsoleapp.py", line 3= 96, 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=3Dargv, **kwargs) File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", = line 595, in launch_instance app.initialize(argv) File "", 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 3= 67, in initialize JupyterConsoleApp.initialize(self,argv) File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", lin= e 334, in initialize self.init_kernel_manager() File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", lin= e 288, in init_kernel_manager self.kernel_manager.start_kernel(**kwargs) File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 2= 30, in start_kernel kernel_cmd =3D self.format_kernel_cmd(extra_arguments=3Dextra_arguments= ) File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 1= 70, in format_kernel_cmd cmd =3D self.kernel_spec.argv + extra_arguments File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 8= 2, in kernel_spec self._kernel_spec =3D self.kernel_spec_manager.get_kernel_spec(self.ker= nel_name) File "/usr/lib/python2.7/dist-packages/jupyter_client/kernelspec.py", lin= e 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=