[cairo] ImportError: No Module named _cairo
Jerónimo Barraco Mármol
jerobarraco at yahoo.com.ar
Sun Feb 13 15:42:40 PST 2011
restart, check the path, and verify you're using python2.6.6 and not older
version (or incorrect one like 2.6.5 or 2.5 with pycairo 2.6 or viceversa)
that was the common problems i had givien me that error.
On Sun, 13 Feb 2011 11:59:59 -0300, Stefan Priess <s.priess1 at gmx.de> wrote:
> 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
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the cairo
mailing list