[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] plotting problem with python

From: Tamas Nepusz
Subject: Re: [igraph] plotting problem with python
Date: Mon, 4 Oct 2010 11:39:27 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Dear Glenn,

It seems like the Python bindings of Cairo are not installed properly on
your machine -- igraph simply reports this when it says "plotting not

I checked a working installation on Windows XP (32-bit) and the
following files should be present in


The error message you see means that Python finds __init__.py in the
cairo subfolder successfully, and it tries to import _cairo.pyd from
there. (.pyd files are like ordinary .dll files, Python just uses a
different extension to distinguish them from .dlls). Unfortunately the
import can fail for at least two reasons:

1) _cairo.pyd itself is missing
2) _cairo.pyd is there, but one of its dependencies is missing.

Unfortunately, the error message is the same in both cases. So, I'd do
the following:

1. Check whether all the files I mentioned above are in the
site-packages\cairo folder. If not, install them.

2. If they are all there, download Dependency Walker from
www.dependencywalker.com and open _cairo.pyd with it. Dependency Walker
should recursively traverse the dependency tree of _cairo.pyd and report
any other DLLs that you are missing.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]