ImportError: No module named downsample
<p>I am using Theano. The OS is Ubuntu. The Theano is UPTODATE. I am wondering why I am getting by <code>from theano.tensor.signal.downsample import max_pool_2d</code> command.</p>

<p><code>ImportError: No module named downsample</code>.</p>

<p>The <code>downsample</code> module has been moved to <code>pool</code>, so try declaring it as:</p>

<pre><code>from theano.tensor.signal.pool import pool_2d
</code></pre>

<p>After changing delete your theano cache with the command:</p>

<pre><code>theano-cache purge
</code></pre>

python module theano