ImportError: No module named 'theano'
<p>I have installed (/library/python/2.7/site-packages) theano on my mac and still get this error.</p>

<p><strong>My code is</strong></p>

<pre><code>import theano
theano.test()
</code></pre>

<p><strong>and the error</strong></p>

<pre><code>Traceback (most recent call last):
  File "/Users/mac/Downloads/n.py", line 1, in &lt;module&gt;
    import theano
ImportError: No module named 'theano'
</code></pre>

<p>I did install theano using pip install theano for python 2.7.  </p>

<p>Any idea on why its throwing up the error.</p>

<p>Also I installed Anaconda and it throws the same error as working on idle.</p>