[cairo] ImportError: No Module named _cairo

Stefan Priess s.priess1 at gmx.de
Sun Feb 13 06:59:59 PST 2011


HI list,

i have installed cairo and pycairo from src to /opt/cairo & /opt/pycairo
when i start python and type import cairo

the error occurs:

>>> import cairo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cairo/__init__.py", line 1, in <module>
    from _cairo import *
ImportError: No module named _cairo

_cairo.so is in the directory where __init__.py is

whats wrong with my way of installing/using?

regards

Stefan


More information about the cairo mailing list