guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python-matplotlib: should it propagate numpy?


From: Ricardo Wurmus
Subject: Re: python-matplotlib: should it propagate numpy?
Date: Wed, 9 Dec 2015 23:03:16 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

Federico Beffa <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]