title: getting "pygpu was configured but could not be imported" error while trying with OpenCL+Theano on AMD Radeon
body: <p>I have followed the instructions from this:</p>
  
  <p><a href="https://gist.github.com/jarutis/ff28bca8cfb9ce0c8b1a" rel="noreferrer">https://gist.github.com/jarutis/ff28bca8cfb9ce0c8b1a</a></p>
  
  <p>But then when I tried : THEANO_FLAGS=device=opencl0:0 python test.py<br>
  on the test file I am getting error:</p>
  
  <p>ERROR (theano.sandbox.gpuarray): pygpu was configured but could not be imported
  Traceback (most recent call last):
    File "/home/mesayantan/.local/lib/python2.7/site-packages/theano/sandbox/gpuarray/<strong>init</strong>.py", line 20, in </p>
  
  <pre><code>import pygpu
  </code></pre>
  
  <p>File "/usr/src/gtest/clBLAS/build/libgpuarray/pygpu/<strong>init</strong>.py", line 7, in </p>
  
  <pre><code>from . import gpuarray, elemwise, reduction
  </code></pre>
  
  <p>File "/usr/src/gtest/clBLAS/build/libgpuarray/pygpu/elemwise.py", line 3, in </p>
  
  <pre><code>from .dtypes import dtype_to_ctype, get_common_dtype
  </code></pre>
  
  <p>File "/usr/src/gtest/clBLAS/build/libgpuarray/pygpu/dtypes.py", line 6, in </p>
  
  <pre><code>from . import gpuarray
  </code></pre>
  
  <p>ImportError: cannot import name gpuarray</p>
  
  <p>I do not have good idea. I am using all these for the first time. I am working on Ubuntu 14.04 LTS. How can I resolve this error?</p>