From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: matplotlib broken Date: Tue, 16 Jun 2015 18:36:04 +0200 Message-ID: References: <871thc66kc.fsf@gnu.org> <87r3pbvpmj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tqJ-00078E-FH for guix-devel@gnu.org; Tue, 16 Jun 2015 12:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4tqH-00023w-Ka for guix-devel@gnu.org; Tue, 16 Jun 2015 12:36:07 -0400 In-Reply-To: <87r3pbvpmj.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix-devel On Tue, Jun 16, 2015 at 1:50 PM, Ludovic Court=C3=A8s wrote: >>> I don=E2=80=99t know if I=E2=80=99m missing something, but when I type = =E2=80=98matplotlib=E2=80=99 at >>> the prompt, I get: >>> >>> /gnu/store/g4m8q73cq4lym3v1ag7pnk5zv49mdifs-python-matplotlib-1.4.2/lib= /python3.4/site-packages/matplotlib-1.4.2-py3.4-linux-x86_64.egg/matplotlib= /backends/backend_gtk3.py in () >>> 19 except ValueError: >>> 20 raise ImportError( >>> ---> 21 "Gtk3 backend requires the GObject introspection bindin= gs for Gtk 3 " >>> 22 "to be installed.") >>> 23 >>> I didn't get that error, so I deleted ~/.ipython and now I get it :-/ I guess one option would be to use another back-end. One of the supported back-ends is TkAgg which requires Tkinter which is a library coming with python itself. However, to get the library we need to compile python with Tk. We had a discussion about this a few month back. I'm not sure if the work was not finished because people prefer to have a smallish python, or because of technical difficulties. Still another back-end is WXAgg, but currently we lack wxPython. If the dependency tree is not too deep, this may be the easiest route to a working (again) matplotlib. Regards, Fede