I had installed it following the steps given in the website 
http://deeplearning.net/software/libgpuarray/installation.html
Now when I run the command : python -c "import pygpu" , I'm getting this 
error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/home/divya/.local/lib/python2.7/site-packages/pygpu-0.6.5-py2.7-linux-x86_64.egg/pygpu/__init__.py",
 
line 7, in <module>
    from . import gpuarray, elemwise, reduction
ImportError: 
/home/divya/.local/lib/python2.7/site-packages/pygpu-0.6.5-py2.7-linux-x86_64.egg/pygpu/gpuarray.so:
 
undefined symbol: GpuKernel_binary

On Thursday, February 8, 2018 at 1:58:19 AM UTC+5:30, nouiz wrote:
>
> Try just this:
>
> python -c "import pygpu"
>
> You need to install this packge. We recommand conda:
>
> conda install theano pygpu
>
> On Tue, Feb 6, 2018 at 12:55 AM <[email protected] <javascript:>> 
> wrote:
>
>> This the error i'm getting when I'm trying to run the following command 
>> : CUDA_VISIBLE_DEVICES=0 
>> THEANO_FLAGS=mode=FAST_RUN,device=cuda0,floatX=float32 python main.py
>>
>> ERROR (theano.gpuarray): pygpu was configured but could not be imported 
>> or is too old (version 0.7 or higher required)
>> Traceback (most recent call last):
>>   File "/home/divya/Theano/theano/gpuarray/__init__.py", line 23, in 
>> <module>
>>     import pygpu
>> ImportError: No module named pygpu
>>
>> How do I resolve this issue?
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to