Hi,
I'm using matplotlib with pygtk in a threaded application. I've seen some
intermittent hangs, that I think arise from a gtk.gdk.threads_enter/leave
pair missing in matplotlib.
>From the gtk/pygtk documentation, gtk idle functions need to be protected
by these locks, but in lib/matplotlib/b
On Sun, Jul 25, 2010 at 1:27 PM, Satish Raghunath wrote:
> Hi
> I got this error when I was trying to build the matplot lib
> .src/backend_gdk.c:8:25: error: pygtk/pygtk.h: No such file or directory
> src/backend_gdk.c: In function âpixbuf_get_pixels_arrayâ:
> src/backend_gdk.c:18: error: âPyG
Hi
I got this error when I was trying to build the matplot lib
.src/backend_gdk.c:8:25: error: pygtk/pygtk.h: No such file or
directory
src/backend_gdk.c: In function âpixbuf_get_pixels_arrayâ:
src/backend_gdk.c:18: error: âPyGObjectâ undeclared (first use in this
function)
src/backend_gdk.c:18:
Got it working using tkAgg by recompiling matplotlib from source.
David
On Jan 21 2009, David Trethewey wrote:
>I have switched between python2.5 and 2.6, so maybe I've messed up the
>installation somehow, and it's not looking for things in the right
>directories.
>
>I fiddled around with the ve
I have switched between python2.5 and 2.6, so maybe I've messed up the
installation somehow, and it's not looking for things in the right
directories.
I fiddled around with the versions of cairo and pycairo, and got them to
match but still got errors:
>>> import gtk
Traceback (most recent call la
On Wed, Jan 21, 2009 at 11:56 AM, Michael Droettboom wrote:
> I haven't seen this before, but it definitely looks like an installation
> problem with pygtk and/or pycairo, since it fails without matplotlib
> even entering into it. In particular, it looks like a possible mismatch
> between the ver
I haven't seen this before, but it definitely looks like an installation
problem with pygtk and/or pycairo, since it fails without matplotlib
even entering into it. In particular, it looks like a possible mismatch
between the versions of pycairo and cairo. Is everything installed from
your di
Michael Droettboom wrote:
> What does
>
> python -c "import gtk"
>
> say?
python2.6 -c "import gtk"
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py",
line 48, in
from gtk import _gtk
File "/usr/lib64/python2.6/sit
Although I have python-gtk installed I still get this error message when
importing pylab. I'm not sure why. Can anyone enlighten me?
>>> from pylab import *
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.6/site-packages/pylab.py", line 1, in
from matplotl