title: Broken numpy/scipy installation (python, ubuntu 10.04)
body: <p>The error I'm getting is as follows:</p>
  
  <pre><code>$ python -c 'from sklearn import preprocessing'
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.6/dist-packages/scikit_learn-0.10-py2.6-linux-x86_64.egg/sklearn/preprocessing/__init__.py", line 17, in &lt;module&gt;
    from ..utils.sparsefuncs import inplace_csr_row_normalize_l1
    File "numpy.pxd", line 174, in init sklearn.utils.sparsefuncs (sklearn/utils/sparsefuncs.c:4605)
  ValueError: numpy.ndarray has the wrong size, try recompiling
  </code></pre>
  
  <p>This I believe is an error with <code>numpy</code> rather than <code>scikitlearn</code> (see <a href="https://github.com/scikit-learn/scikit-learn/issues/433" rel="nofollow">here</a>)</p>
  
  <p>I was using the dev versions of <code>scipy</code> and <code>numpy</code> installed using git clone (and it was working fine). However I needed to "downgrade" to the stable versions for release. So I deleted the git folders, and removed the egg files from <code>/usr/local/lib/python-2.6/</code>. (To be safe) I then did:</p>
  
  <pre><code>$ sudo apt-get install libblas-dev liblapack-dev
  $ sudo apt-get install python-dev python-numpy python-scipy
  $ sudo easy_install -U distribute
  $ sudo easy_install -U numpy
  $ sudo easy_install -U scipy
  </code></pre>
  
  <p>Both of the last two gave me the warning ...</p>
  
  <pre><code>RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
  </code></pre>
  
  <p>... I'm not sure if that's what's going wrong here? </p>
  
  <pre><code>$ python -c 'import numpy; print numpy.__version__'
  1.6.2
  
  $ python -c 'import scipy; print scipy.__version__'
  0.10.1
  </code></pre>
  
  <p>I've tried removing the apt installed versions but that doesn't seem to help. This is Ubuntu 10.04 (lucid) with <code>2.6.32-21-server</code> kernel</p>