title: Error when running tests of scipy and numpy on OS X Snow Leopard
body: <p>I am new to stackoverflow as well as Python, and I hope to use stackoverflow to learn and improve my Python programming.</p>
  
  <p>However, as soon as I set up Python, SciPy, NumPy on my Mac, I encountered a problem when I tried running a full test of SciPy and NumPy to verify the install:</p>
  
  <pre><code>&gt;&gt;&gt; import scipy
  &gt;&gt;&gt; scipy.test()
  Running unit tests for scipy
  
  Traceback (most recent call last):
    File "&lt;pyshell#4&gt;", line 1, in &lt;module&gt;
      scipy.test()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/nosetester.py", line 318, in test
      self._show_system_info()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/nosetester.py", line 187, in _show_system_info
      nose = import_nose()
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/nosetester.py", line 69, in import_nose
      raise ImportError(msg)
  ImportError: Need nose &gt;= 0.10.0 for tests - see http://somethingaboutorange.com/mrl/projects/nose
  </code></pre>
  
  <p>As suggested by the error message, I install this 'nose' package via easy_install, and the install seems successful as I get the following from bash:</p>
  
  <pre><code>mlstr:~ mlstr$ nosetests -V
  nosetests version 1.1.2
  </code></pre>
  
  <p>So I tried the SciPy test again, and it failed with the same message. Can someone please let me know if I need to do anything else to install/configure nose so that it can be used by the unit tests of SciPy and NumPy. Thanks in advance.</p>
  
  <p><strong>UPDATE #1</strong>: After trying Rahul's suggestion of using pip to reinstall nose, I think I've found where the problem is: whenever I do easy_install or pip from bash, the package is installed into   Python 2.6 directories instead of 2.7 ones. And I think this is because by default 2.6 is the one shipped with Snow Leopard. So what should I do to tell easy_install  or pip that I want to install a particular package for Python 2.7? Thanks.</p>
  
  <p><strong>UPDATE #2</strong>: By following up my update above, I've found the solution here: <a href="https://stackoverflow.com/questions/5792060/easy-install-with-various-versions-of-python-installed-mac-osx">easy_install with various versions of python installed, mac osx</a>. It is indeed because that I used the wrong version of easy_install thus my nose installation was for Python 2.6 shipped with Mac OS X. Thanks. </p>