Federico Beffa <be...@ieee.org> skribis: > On Sun, Dec 6, 2015 at 11:22 PM, Ludovic Courtès <l...@gnu.org> wrote: >> Federico Beffa <be...@ieee.org> skribis: >> >>> Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> writes: >>> >>>> Hi Guix, >>>> >>>> with a profile containing python-2.7.10 and python2-matplotlib I did >>>> this: >>>> >>>> ~~~~~~~~~~~~~~~~~~~~~~~~ >>>> [rwurmus@guix-builder:~] $ export >>>> GI_TYPELIB_PATH="$HOME/.guix-profile/lib/girepository-1.0" >>>> [rwurmus@guix-builder:~] $ export >>>> PYTHONPATH=$HOME/.guix-profile/lib/python2.7/site-packages >>>> [rwurmus@guix-builder:~] $ python >>>> Python 2.7.10 (default, Oct 9 2015, 22:48:33) >>>> [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 >>>> "/home/rwurmus/.guix-profile/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 >>>> "/home/rwurmus/.guix-profile/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 >>>>>>> >>>> ~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> Yeah, we should propagate numpy really. >> >> So, what’s the status of this discussion? To propagate or not to >> propagate? :-) > > I just tried out using matplotlib without numpy and it actually works: > > -------------------------------------------------- > $ ipython > Python 3.4.3 (default, Jan 1 1970, 00:00:01) > Type "copyright", "credits" or "license" for more information. > > IPython 3.2.1 -- An enhanced Interactive Python. > ? -> Introduction and overview of IPython's features. > %quickref -> Quick reference. > help -> Python's own help system. > object? -> Details about 'object', use 'object??' for extra details. > > In [1]: import matplotlib.pyplot as plt > > In [2]: t = range(5) > > In [3]: plt.plot(t, t) > Out[3]: [<matplotlib.lines.Line2D at 0x7f17b930ccf8>] > > In [4]: plt.show() > > -------------------------------------------------- > > Therefore, despite numpy being the standard data crunching base > format, I don't think we need to propagate it.
OK, sounds reasonable. Thanks for checking! Ludo’.