id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11796 "DistributionNotFound: Pygments>=0.6"" not found if Pygments==2.0rc1" Jun Omae Jun Omae "Currently, version of pypi:Pygments is 2.0rc1. If it is installed, cannot load `trac.mimeview.pygments`. {{{ 12:29:34 PM Trac[loader] DEBUG: Skipping ""trac.mimeview.pygments = trac.mimeview.pygments [pygments]"": (""DistributionNotFound: Pygments>=0.6"" not found) }}} Instead, works well with Pygments 1.6. {{{ $ /dev/shm/trac-1.0.2/bin/pip freeze Babel==0.9.6 Genshi==0.6 Pygments==2.0rc1 Trac==1.0.2 argparse==1.2.1 distribute==0.6.24 wsgiref==0.1.2 }}} {{{#!pycon Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. >>> import trac.mimeview.pygments Traceback (most recent call last): File """", line 1, in File ""/dev/shm/trac-1.0.2/local/lib/python2.7/site-packages/trac/mimeview/pygments.py"", line 37, in HtmlFormatter = pygments.formatters.html.HtmlFormatter File ""/dev/shm/trac-1.0.2/local/lib/python2.7/site-packages/pygments/formatters/__init__.py"", line 111, in __getattr__ raise AttributeError(name) AttributeError: html }}}" defect closed normal 1.0.3 general 1.0-stable normal fixed pygments Add support for Pygments 2.0.