
On Fri, Oct 16, 2009 at 10:05 PM, ~suv <suv-sf@...16...> wrote:
On 17/10/09 05:31, m h wrote:
On Fri, Oct 16, 2009 at 5:23 PM, ~suv <suv-sf@...16...> wrote:
On 16/10/09 22:41, John Culleton wrote:
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote: > Compiled pre4 successfully . Some things like perfect bound > cover and bar code don't work. Messages reference lxml in each > case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
I'm a Python newbie myself and don't know more details about how to correctly install lxml on your linux distribution (on OS X I can use a port utility that handles the dependencies for me when installing python modules). At least it doesn't look like an Inkscape bug ;-)
Any linux+python expert who can help?
On linux, since inkscape extensions are written in python and many of those use the python wrappers for lxml to parse the xml I would assume that the distro should take care of making the python wrappers a dependency for inkscape. On gentoo it does at least.
What about Python modules on Slackware 13? Does one have to install manually - http://codespeak.net/lxml/installation.html#installation? The Slackware Package Browser http://www.slackware.com/packages/ currently seems broken…
I don't use slackware but it appears that a package is floating around here... http://slackbuilds.org/repository/13.0/libraries/lxml/