Re: [Gimp-docs] No module named libxml2
- From: "Ulf-D. Ehlert" <ude88 web de>
- To: gimp-docs-list gnome org
- Subject: Re: [Gimp-docs] No module named libxml2
- Date: Sat, 15 Sep 2012 20:27:04 +0200
On Sat, Sep 15, 2012 at 06:26:42PM +0200, Kolbj�rn Stuest�l wrote:
> Moving my work on GIMP to another computer I run into some problems.
>
> Example:
> make validate-nn
> Result:
> [XML] xml/nn/filters/alpha-to-logo.xml
> Traceback (most recent call last):
> File ".tools/xml2po.py", line 191, in <module>
> main<sys.argv[1:]>
> File ".tools/xml2po.py", line 88, in Main
> from xml2po import Main
> File "/bin/GIMP/gimp-help-2/tools/xml2po/__init__.py", line 27,
> in <module>
> import libxml2
> ImportError: No module named libxml2
>
> Running python 2.6.
> I do not know about programming in Python.
> I do have a libxml2/libxml directory installed ( in
> usr/include/libxml2) but no separate files with this name.
> Question: Where is __init__.py looking for includes?
Usually Python is looking for
/usr/lib*/python*/site-packages/libxml2.py
(try python -c "import sysconfig; print sysconfig.get_path('sitelib')").
> How to fix this?
Install package "libxml2-python" (or similar, I don't know Cygwin).
> Other fixes needed?
>
> Neither does make check-images-nn works as suggested, but I think
> this is another question.
Error messages?
> I am running Cygwin on Windows 7.
This ("Windows") *is* a bug... ;-)
Ulf
--
Wer beleidigt, braucht nicht unrecht haben; es gibt Köpfe, denen
man erst Verstand liefern müßte, um sie überzeugen zu können.
-- Karlheinz Deschner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]