The code listed below is my error when importing cairo in python<br><br>Python 2.4.2 (#1, Jun 24 2006, 13:43:16)<br>[GCC 4.1.1 (Gentoo 4.1.1)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.
<br>>>> import cairo<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in ?<br> File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in ?<br> from _cairo import *
<br>ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined symbol: cairo_ps_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution<br><br>I have pygtk-2.8.6-r1, pycairo-1.0.2-r1, and cairo-1.1.8
installed.<br><br>Thanks in advance if anyone can help me.<br>