Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Is this a dependency bug?
Date: Mon, 20 Feb 2017 17:45:58
Message-Id: o8f9vo$ubd$1@blaine.gmane.org
1 I installed weasyprint-0.29, but it won't run:
2
3 $ weasyprint
4 Traceback (most recent call last):
5 File "/usr/lib/python-exec/python2.7/weasyprint", line 6, in <module>
6 from pkg_resources import load_entry_point
7 [...]
8 File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
9 raise DistributionNotFound(req, requirers)
10 pkg_resources.DistributionNotFound: The 'CairoSVG<2,>=1.0.20' distribution was not found and is required by WeasyPrint
11
12 I have cairosvg installed, but apparently it's not recent enough (1.07 vs. 1.20)?
13
14 $ emerge --search cairosvg
15
16 * media-gfx/cairosvg
17 Latest version available: 1.0.7
18 Latest version installed: 1.0.7
19 Size of files: 29 KiB
20 Homepage: http://cairosvg.org/
21 Description: A simple cairo based SVG converter with support for PDF, PostScript and PNG formats
22 License: LGPL-3
23
24 Is this a dependency bug in the weasyprint ebuild?
25
26
27 --
28 Grant Edwards grant.b.edwards Yow! NANCY!! Why is
29 at everything RED?!
30 gmail.com

Replies

Subject Author
Re: [gentoo-user] Is this a dependency bug? Andrew Savchenko <bircoph@g.o>