Hi,
Thanks for you reply.
I tried in terminal : 
ye@ye-desktop:~/Dropbox/PycharmProjects/project$ echo $PATH
/usr/local/cuda-8.0/bin:/usr/local/cuda-8.0/bin:/home/ye/bin:/home/ye/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin

while in Pycharm : 
print 'PATH:', os.environ['PATH']
PATH: 
/home/ye/bin:/home/ye/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin

But in Pycharm, shell path, it shows: /bin/bash 
what should I change to ?

Thanks again.


在 2016年11月20日星期日 UTC-6下午6:35:47,Pascal Lamblin写道:
>
> Pycharm is probably setting its environment in a particular way. 
>
> You can probably check what is in os.environ['PATH'] from Pycharm, and 
> compare with what "echo $PATH" return in the shell. 
>
> On Sun, Nov 20, 2016, 王烨 wrote: 
> > Dear folks: 
> > I recently met a question. 
> > 
> > I think I did set everything all right in theano. because when I import 
> my 
> > theano in python terminal, it shows: 
> > Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
> > [GCC 5.4.0 20160609] on linux2 
> > Type "help", "copyright", "credits" or "license" for more information. 
> > >>> import theano 
> > Using gpu device 0: GeForce GTX 1060 6GB (CNMeM is enabled with initial 
> > size: 80.0% of memory, cuDNN 5105) 
> > 
> > 
> > When I run nvcc -C , it shows: 
> > ye@ye-desktop:/home$ nvcc -V 
> > nvcc: NVIDIA (R) Cuda compiler driver 
> > Copyright (c) 2005-2016 NVIDIA Corporation 
> > Built on Sun_Sep__4_22:14:01_CDT_2016 
> > Cuda compilation tools, release 8.0, V8.0.44 
> > 
> > 
> > But when I try to use gensim and theano in Pycharm, It shows: 
> > ERROR (theano.sandbox.cuda): nvcc compiler not found on $PATH. Check 
> your 
> > nvcc installation and try again. 
> > 
> > Any suggestions? 
> > 
> > -- 
> > 
> > --- 
> > 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...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
> -- 
> Pascal 
>

-- 

--- 
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