It works! Thanks

On Thursday, 29 September 2016 21:18:31 UTC+9, Jelly wrote:
>
> The same problem occurred when I updated the scipy package.Whenever I run 
> "import theano" , It always raised "Segment  fault" error. First I thought 
> it was the issue of the version,and tried to install and unistall different 
> versions of scipy and theano. However it  didn't work. So I've done as you 
> did, and found that there was  a confliction between scipy and theano.So I 
> tried to unistall scipy and "import theano" again,it surpriselly worked.But 
> when I installed the scipy with pip ,the same problem occurred,no matter 
> which version was.Only when I unistall scipy with pip can it work well.Also 
> as you suggested,I installed scipy through conda , and i  can both import 
> scipy and theano without any error. Thanks very much!!
>
> On Monday, September 26, 2016 at 8:47:42 AM UTC+8, Pascal Lamblin wrote:
>>
>> I had a similar issue yesterday, and it turned out that my conda env 
>> had numpy installed through conda, but scipy installed through pip. 
>> Reinstalling scipy from conda solved the issue. 
>>
>> I diagnosed it by launching "python -v" and then "import theano", and 
>> the last lines mentioned importing scipy. 
>>
>> Hope this helps. 
>>
>> On Sat, Sep 24, 2016, Max wrote: 
>> > I fixed the problem by doing a conda update of dependencies 
>> > conda install numpy scipy mkl nose sphinx pydot-ng 
>> > 
>> > and then the Segment fault error message went away 
>> > 
>> > On Friday, January 22, 2016 at 4:08:22 PM UTC-5, Tejas Khot wrote: 
>> > > 
>> > > I have a fresh nvidia driver-361.18, cuda-7 and cudnn-6.5 
>> installation 
>> > > done on my Ubuntu 14.04 machine. 
>> > > My gpu is detected and I can run tensorflow smoothly. However, I get 
>> a 
>> > > segmentation fault on importing theano. 
>> > > 
>> > > theano-cache clear 
>> > > doesn't seem to solve it. 
>> > > 
>> > > Here is the output: 
>> > > Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
>> > > Type "copyright", "credits" or "license" for more information. 
>> > > 
>> > > IPython 4.0.2 -- An enhanced Interactive Python. 
>> > > ?         -> Introduction and overview of IPython's features. 
>> > > %quickref -> Quick reference. 
>> > > help      -> Python's own help system. 
>> > > object?   -> Details about 'object', use 'object??' for extra 
>> details. 
>> > > 
>> > > In [1]: import tensorflow 
>> > > I tensorflow/stream_executor/dso_loader.cc:101] successfully opened 
>> CUDA 
>> > > library libcublas.so.7.0 locally 
>> > > I tensorflow/stream_executor/dso_loader.cc:101] successfully opened 
>> CUDA 
>> > > library libcudnn.so.6.5 locally 
>> > > I tensorflow/stream_executor/dso_loader.cc:101] successfully opened 
>> CUDA 
>> > > library libcufft.so.7.0 locally 
>> > > I tensorflow/stream_executor/dso_loader.cc:101] successfully opened 
>> CUDA 
>> > > library libcuda.so locally 
>> > > I tensorflow/stream_executor/dso_loader.cc:101] successfully opened 
>> CUDA 
>> > > library libcurand.so.7.0 locally 
>> > > 
>> > > In [2]: import theano 
>> > > Segmentation fault 
>> > > 
>> > > 
>> > > I have tried reinstalling theano and upgrading as well using 
>> > > sudo pip install Theano --upgrade 
>> > > but this error still persists. 
>> > > 
>> > > Contents of .theanorc 
>> > > [global] 
>> > > floatX=float32 
>> > > device=gpu0 
>> > > 
>> > > [blas] 
>> > > ldflags = -L/usr/local/lib -lopenblas 
>> > > 
>> > > [nvcc] 
>> > > fastmath=True 
>> > > 
>> > > [cuda] 
>> > > root=/usr/local/cuda 
>> > > 
>> > > I haven't faced this issue with theano in the past. Can someone help 
>> me 
>> > > solve this please. 
>> > > 
>> > > 
>> > 
>> > -- 
>> > 
>> > --- 
>> > 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. 
>>
>>
>> -- 
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to