From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: python-matplotlib: should it propagate numpy?
Date: Wed, 9 Dec 2015 23:03:16 +0100 [thread overview]
Message-ID: <87d1ufmg9n.fsf@mdc-berlin.de> (raw)
In-Reply-To: <CAKrPhPMmLWUS0DW8azVEkAgohXf2V0QnF0wqRwydENCwBza7DA@mail.gmail.com>
Federico Beffa <beffa@ieee.org> writes:
> I just tried out using matplotlib without numpy and it actually works:
[...]
> Therefore, despite numpy being the standard data crunching base
> format, I don't think we need to propagate it.
I cannot confirm this. I used
guix environment --container --ad-hoc python-2.7.10 python2-matplotlib -- python2
...
Python 2.7.10 (default, Jan 1 1970, 00:00:01)
[GCC 4.9.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/gnu/store/8k926blraf9mg3l4qjlxpnabrgx09jr8-python2-matplotlib-1.4.2/lib/python2.7/site-packages/matplotlib-1.4.2-py2.7-linux-x86_64.egg/matplotlib/__init__.py", line 180, in <module>
from matplotlib.cbook import is_string_like
File "/gnu/store/8k926blraf9mg3l4qjlxpnabrgx09jr8-python2-matplotlib-1.4.2/lib/python2.7/site-packages/matplotlib-1.4.2-py2.7-linux-x86_64.egg/matplotlib/cbook.py", line 33, in <module>
import numpy as np
ImportError: No module named numpy
>>>
So, numpy still needs to be propagated in my opinion. I haven’t tried
‘python-matplotlib’ and ‘python’ yet, just ‘python2-matplotlib’ as
above. Does this make a difference?
~~ Ricardo
next prev parent reply other threads:[~2015-12-09 22:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 19:09 python-matplotlib: should it propagate numpy? Federico Beffa
2015-12-06 22:22 ` Ludovic Courtès
2015-12-07 7:26 ` Federico Beffa
2015-12-08 17:08 ` Ludovic Courtès
2015-12-09 22:03 ` Ricardo Wurmus [this message]
2015-12-10 19:21 ` Federico Beffa
2015-12-15 17:15 ` Federico Beffa
-- strict thread matches above, loose matches on Subject: below --
2015-11-11 16:40 Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d1ufmg9n.fsf@mdc-berlin.de \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.