title: `No module named nose_parameterized` during theano installation
body: <p>At the moment I am trying to install theano on my ubuntu 16.04 system with cuda support. The installation process itself went well until I tried to test the installation:  </p>
  
  <pre><code>python -c "import theano; theano.test()"
  </code></pre>
  
  <p>The last few lines of the output were:</p>
  
  <pre><code>======================================================================
  ERROR: Failure: ImportError (No module named nose_parameterized)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
      addr.filename, addr.module)
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/theano/tests/test_rop.py", line 16, in &lt;module&gt;
      from theano.tests import unittest_tools as utt
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/theano/tests/unittest_tools.py", line 7, in &lt;module&gt;
      from nose_parameterized import parameterized
  ImportError: No module named nose_parameterized
  
  ----------------------------------------------------------------------
  Ran 408 tests in 13.085s
  
  FAILED (SKIP=26, errors=80)
  </code></pre>
  
  <p>These were preceded by approximately 20 blocks with what appears to be different tests failing on exactly the same top 3 lines in the stacktrace. The code where the final occurs looks like this (with added line numbers):  </p>
  
  <pre><code>411. # FIXME: to support module.name names,
  412. # do what resolve-name does and keep trying to
  413. # import, popping tail of module into addr.call,
  414. # until we either get an import or run out of
  415. # module parts
  416. try:
  417.     module = self.importer.importFromPath(
  418.     addr.filename, addr.module)
  419. finally:
  420.     self.config.plugins.afterImport(
  421.     addr.filename, addr.module)
  </code></pre>
  
  <p>While searching for a solution I came across:<br>
  <a href="https://stackoverflow.com/questions/29925801/error-running-nosetests">Error running nosetests</a><br>
  I tried the solution proposed there:<br>
  <code>sudo pip install nose-parameterized</code><br>
  However this had no effect. Does anyone know what else could be causing this error?  </p>
  
  <p>edit: so I reinstalled theano to make the problem more reproducible. I installed theano using the instructions found <a href="http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntu" rel="nofollow noreferrer">here</a>, so I used:  </p>
  
  <pre><code>sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git  
  sudo pip install Theano  
  </code></pre>
  
  <p>Then I used:</p>
  
  <pre><code>nosetests theano
  </code></pre>
  
  <p>The last few lines of the output of this are almost the same as earlier:  </p>
  
  <pre><code>======================================================================
  ERROR: Failure: ImportError (No module named nose_parameterized)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
      addr.filename, addr.module)
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/home/myUser/anaconda2/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/home/myUser/.local/lib/python2.7/site-packages/theano/tests/test_rop.py", line 16, in &lt;module&gt;
      from theano.tests import unittest_tools as utt
    File "/home/myUser/.local/lib/python2.7/site-packages/theano/tests/unittest_tools.py", line 7, in &lt;module&gt;
      from nose_parameterized import parameterized
  ImportError: No module named nose_parameterized
  
  ----------------------------------------------------------------------
  Ran 457 tests in 160.608s
  
  FAILED (SKIP=24, errors=95)
  </code></pre>
  
  <p>edit 2: I thought it might be a python-version issue. When I try:  </p>
  
  <pre><code>python -V  
  </code></pre>
  
  <p>I get:  </p>
  
  <pre><code>Python 2.7.12 :: Anaconda 4.2.0 (64-bit)
  </code></pre>
  
  <p>And the following folders exist:<br>
  <code>/usr/local/lib/python2.7/dist-packages/nose_parameterized</code><br>
  So, that shouldn't be a problem as far as I can see. However when I try:  </p>
  
  <pre><code>python2.7 -c "import nose_parameterized"  
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  ImportError: No module named nose_parameterized
  </code></pre>