[pygtk] can't import gtk

Mathew Yeates mat.yeates at gmail.com
Tue Jan 26 02:02:55 WST 2010


here's a snippet.
>>import gtk

Thats it! I immediately get the error.

On Mon, Jan 25, 2010 at 9:56 AM, Bertrand Son Kintanar <
b3rxkintanar at gmail.com> wrote:

> On Mon, Jan 25, 2010 at 10:49 AM, Mathew Yeates <mat.yeates at gmail.com>wrote:
>
>> I get the error
>> AttributeError: 'module' object has no attribute 'CAPI'
>>
>> The only place I see CAPI is in _cairo.so.
>>
>> I've tried both pygtk-2.17.0 and pygtk-2.14.1.
>>
>> Is there some magic combination of pycairo, pygtk etc?
>>
>> Mathew
>>
>
> please avoid creating multiple posts on the same issue. can we see a
> snippets of your code where this error spits out?
>
>
>
> --
> b3rx
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100125/c13aa54e/attachment.htm 


More information about the pygtk mailing list