Package: python-nbconvert
Version: 4.2.0-4~bpo8+1
Severity: normal
Hi!
I'm trying to run the python nbconvert from Debian backports, and hitting this
issue:
ipython nbconvert --execute --to html $NOTEBOOK.ipynb
[TerminalIPythonApp] WARNING | Subcommand `ipython nbconvert` is deprecated and
will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter nbconvert` in
the future
[NbConvertApp] Converting notebook AI-progress-metrics.ipynb to html
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line
658, in launch_instance
app.start()
File "/usr/lib/python2.7/dist-packages/IPython/terminal/ipapp.py", line 344,
in start
return self.subapp.start()
File "/usr/lib/python2.7/dist-packages/nbconvert/nbconvertapp.py", line 293,
in start
self.convert_notebooks()
File "/usr/lib/python2.7/dist-packages/nbconvert/nbconvertapp.py", line 457,
in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/usr/lib/python2.7/dist-packages/nbconvert/nbconvertapp.py", line 428,
in convert_single_notebook
output, resources = self.export_single_notebook(notebook_filename,
resources, input_buffer=input_buffer)
File "/usr/lib/python2.7/dist-packages/nbconvert/nbconvertapp.py", line 357,
in export_single_notebook
output, resources = self.exporter.from_filename(notebook_filename,
resources=resources)
File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/exporter.py", line
165, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/exporter.py", line
183, in from_file
return self.from_notebook_node(nbformat.read(file_stream, as_version=4),
resources=resources, **kw)
File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/html.py", line 65,
in from_notebook_node
return super(HTMLExporter, self).from_notebook_node(nb, resources, **kw)
File
"/usr/lib/python2.7/dist-packages/nbconvert/exporters/templateexporter.py",
line 200, in from_notebook_node
nb_copy, resources = super(TemplateExporter, self).from_notebook_node(nb,
resources, **kw)
File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/exporter.py", line
130, in from_notebook_node
nb_copy, resources = self._preprocess(nb_copy, resources)
File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/exporter.py", line
302, in _preprocess
nbc, resc = preprocessor(nbc, resc)
File "/usr/lib/python2.7/dist-packages/nbconvert/preprocessors/base.py", line
47, in __call__
return self.preprocess(nb,resources)
File "/usr/lib/python2.7/dist-packages/nbconvert/preprocessors/execute.py",
line 132, in preprocess
from jupyter_client.manager import start_new_kernel
ImportError: No module named jupyter_client.manager
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at [email protected]
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
c.Application.verbose_crash=True
-- System Information:
Debian Release: 8.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-nbconvert depends on:
ii ipython 5.1.0-2~bpo8+1
ii python-entrypoints 0.2.2-2~bpo8+1
ii python-ipython 5.1.0-2~bpo8+1
ii python-jinja2 2.7.3-1
ii python-jupyter-core 4.2.1-1~bpo8+1
ii python-mistune 0.7.3-1~bpo8+1
ii python-nbformat 4.2.0-1~bpo8+1
ii python-pygments 2.0.1+dfsg-1.1+deb8u1
ii python-traitlets 4.3.1-1~bpo8+1
pn python:any <none>
Versions of packages python-nbconvert recommends:
ii pandoc 1.12.4.2~dfsg-1+b14
python-nbconvert suggests no packages.
-- no debconf information
More relevant packages:
dpkg -l *jupyter*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
Description
+++-====================================-=======================-=======================-=============================================================================
ii jupyter-client 4.4.0-2~bpo8+1 all
Jupyter protocol client APIs (tools)
ii jupyter-nbconvert 4.2.0-4~bpo8+1 all
Jupyter notebook conversion (scripts)
ii jupyter-notebook 4.2.3-4~bpo8+1 all
Jupyter interactive notebook
ii python-jupyter-core 4.2.1-1~bpo8+1 all
Core common functionality of Jupyter projects for Python 2
ii python3-jupyter-client 4.4.0-2~bpo8+1 all
Jupyter protocol client APIs (Python 3)
ii python3-jupyter-core 4.2.1-1~bpo8+1 all
Core common functionality of Jupyter projects for Python 3