Package: ipython Version: 2.3.0-2 Severity: normal Hi,
After installing ipython, "ipython nbconvert" fails with an ImportError: $ ipython nbconvert --to=html Untitled0.ipynb [NbConvertApp] Created profile dir: u'/root/.ipython/profile_default' Traceback (most recent call last): File "/usr/bin/ipython", line 5, in <module> start_ipython() File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 120, in start_ipython return launch_new_instance(argv=argv, **kwargs) File "/usr/lib/python2.7/dist-packages/IPython/config/application.py", line 565, in launch_instance app.start() File "/usr/lib/python2.7/dist-packages/IPython/terminal/ipapp.py", line 367, in start return self.subapp.start() File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 268, in start self.convert_notebooks() File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 284, in convert_notebooks exporter = exporter_map[self.export_format](config=self.config) File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/templateexporter.py", line 151, in __init__ super(TemplateExporter, self).__init__(config=config, **kw) File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 94, in __init__ self._init_preprocessors() File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 222, in _init_preprocesso rs self.register_preprocessor(preprocessor) File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 188, in register_preprocessor return self.register_preprocessor(preprocessor_cls, enabled) File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 201, in register_preprocessor self.register_preprocessor(preprocessor(parent=self), enabled) File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/preprocessors/csshtmlheader.py", line 54, in __init__ self._regen_header() File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/preprocessors/csshtmlheader.py", line 84, in _regen_header from pygments.formatters import HtmlFormatter ImportError: No module named pygments.formatters The ipython package should recommend python-pygments to prevent this error. _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team