Package: python-matplotlib
Version: 0.87.5-2.1
Severity: important
Tags: patch

Hi,

when trying to follow the basic tutorial[1] of matplotlib, I have to
import * from pylab, which results in the following trace:

 1. http://matplotlib.sourceforge.net/tutorial.html

--8<----8<--
[EMAIL PROTECTED]:~$ python
Python 2.4.4 (#2, Oct 20 2006, 00:57:46) 
[GCC 4.1.2 20061007 (prerelease) (Debian 4.1.1-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
    from matplotlib.pylab import *
  File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 196, in ?
    import cm
  File "/usr/lib/python2.4/site-packages/matplotlib/cm.py", line 5, in ?
    import colors
  File "/usr/lib/python2.4/site-packages/matplotlib/colors.py", line 33, in ?
    from numerix import array, arange, take, put, Float, Int, where, \
  File "/usr/lib/python2.4/site-packages/matplotlib/numerix/__init__.py", line 
73, in ?
    import numpy
  File "/usr/lib/python2.4/site-packages/numpy/__init__.py", line 40, in ?
    import linalg
ImportError: No module named linalg
--8<----8<--


AFAICS, the linalg module is provided by the python-scipy package, which
isn't listed in Depends:, Recommends:, nor Suggests:.

I guess that adding it in Depends: is the Right Thing©® to do. :-)

Cheers,

-- 
Cyril Brulebois

Reply via email to