Your message dated Sun, 7 Apr 2019 15:34:57 +0000
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #793365,
regarding ipython should recommend python-pygments
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
793365: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793365
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
As of ipython 5.8.0, the relevant functionality is now in
python[3]-nbconvert, which does depend upon python[3]-pygments. Closing.

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to