[pygtk] AttributeError: 'module' object has no attribute 'CAPI

2010-01-23 Thread Mathew Yeates
Hi

When I import gtk I  get this error. It looks like this symbol is in
cairo.so.

??

Mathew
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] AttributeError: 'module' object has no attribute 'CAPI'

2008-07-09 Thread Simon Burton

Python 2.5.1 (r251:54863, Jun 21 2007, 12:28:02)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Make it so.
>>> import gtk
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
48, in 
from gtk import _gtk
AttributeError: 'module' object has no attribute 'CAPI'
>>>


Any ideas ?
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] AttributeError: 'module' object has no attribute 'CAPI'

2007-10-22 Thread Simon Burton
On Mon, 22 Oct 2007 23:09:52 +0200
"Gian Mario Tagliaretti" <[EMAIL PROTECTED]> wrote:

> 
> 2007/10/22, Simon Burton <[EMAIL PROTECTED]>:
> 
> > AttributeError: 'module' object has no attribute 'CAPI'
> 
> > Any ideas ?
> 
> do you have a file named cairo.py in the current dir?
> 
> cheers
> -- 
> Gian Mario Tagliaretti

yes, that was it. Thanks !

Simon.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] AttributeError: 'module' object has no attribute 'CAPI'

2007-10-22 Thread Gian Mario Tagliaretti
2007/10/22, Simon Burton <[EMAIL PROTECTED]>:

> AttributeError: 'module' object has no attribute 'CAPI'

> Any ideas ?

do you have a file named cairo.py in the current dir?

cheers
-- 
Gian Mario Tagliaretti
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] AttributeError: 'module' object has no attribute 'CAPI'

2007-10-22 Thread Simon Burton

Python 2.5.1 (r251:54863, Jun 21 2007, 12:28:02)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Make it so.
>>> import gtk
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
48, in 
from gtk import _gtk
AttributeError: 'module' object has no attribute 'CAPI'
>>>


Any ideas ?
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/