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 <gdivyajyoth...@gmail.com> 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 theano-users+unsubscr...@googlegroups.com.
> 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 theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to