I installed weasyprint-0.29, but it won't run:

  $ weasyprint
  Traceback (most recent call last):
    File "/usr/lib/python-exec/python2.7/weasyprint", line 6, in <module>
      from pkg_resources import load_entry_point
    [...]
    File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 
849, in resolve
      raise DistributionNotFound(req, requirers)
  pkg_resources.DistributionNotFound: The 'CairoSVG<2,>=1.0.20' distribution 
was not found and is required by WeasyPrint

I have cairosvg installed, but apparently it's not recent enough (1.07 vs. 
1.20)?

  $ emerge --search cairosvg                                                    
                                            

  *  media-gfx/cairosvg
      Latest version available: 1.0.7
      Latest version installed: 1.0.7
      Size of files: 29 KiB
      Homepage:      http://cairosvg.org/
      Description:   A simple cairo based SVG converter with support for PDF, 
PostScript and PNG formats
      License:       LGPL-3

Is this a dependency bug in the weasyprint ebuild?


-- 
Grant Edwards               grant.b.edwards        Yow! NANCY!!  Why is
                                  at               everything RED?!
                              gmail.com            


Reply via email to