GTKAgg backend problem

Hey,

I recently installed matplotlib "1.1.0svn" upgrading from 0.99.x shipped
with ubuntu. I have the problem that the GTK backend does not work
properly. Running similar to:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_gtk.html
throws the error: ImportError: No module named _backend_gdk
Is this a problem with the version or my installation and how would I
fix it (or do I need to downgrade again!?).

Regards

Sebastian Berg

Can you provide the output of a clean build?

Go to the source directory, remove the "build" dir, and run "python setup.py install &> log" and send us the file "log". It's possible you do not have the development files for gtk installed so the extension modules didn't get built.

Mike

···

On 04/08/2011 08:49 AM, Sebastian Berg wrote:

Hey,

I recently installed matplotlib "1.1.0svn" upgrading from 0.99.x shipped
with ubuntu. I have the problem that the GTK backend does not work
properly. Running similar to:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_gtk.html
throws the error: ImportError: No module named _backend_gdk
Is this a problem with the version or my installation and how would I
fix it (or do I need to downgrade again!?).

Regards

Sebastian Berg

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
   
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

Sorry, I mean of course, that the example already fails for me with this
error...

···

On Fri, 2011-04-08 at 14:49 +0200, Sebastian Berg wrote:

Hey,

I recently installed matplotlib "1.1.0svn" upgrading from 0.99.x shipped
with ubuntu. I have the problem that the GTK backend does not work
properly. Running similar to:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_gtk.html
throws the error: ImportError: No module named _backend_gdk
Is this a problem with the version or my installation and how would I
fix it (or do I need to downgrade again!?).

Regards

Sebastian Berg

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Hey,

thanks a bunch, that was the problem, build it a while back, really
should have seen that back then though ;).

Regrads,

Sebastian

···

On Fri, 2011-04-08 at 08:14 -0400, Michael Droettboom wrote:

Can you provide the output of a clean build?

Go to the source directory, remove the "build" dir, and run "python
setup.py install &> log" and send us the file "log". It's possible you
do not have the development files for gtk installed so the extension
modules didn't get built.

Mike

On 04/08/2011 08:49 AM, Sebastian Berg wrote:
> Hey,
>
> I recently installed matplotlib "1.1.0svn" upgrading from 0.99.x shipped
> with ubuntu. I have the problem that the GTK backend does not work
> properly. Running similar to:
> http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_gtk.html
> throws the error: ImportError: No module named _backend_gdk
> Is this a problem with the version or my installation and how would I
> fix it (or do I need to downgrade again!?).
>
> Regards
>
> Sebastian Berg
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> matplotlib-users List Signup and Options
>