Ok I just deleted duplicate and it imports fine. Thanks.

On Tuesday, October 11, 2016 at 9:00:05 AM UTC-4, Rik wrote:
>
> Yes these are the contents:
>
> [nvcc]
> flags=-D_FORCE_INLINES
>
>
> [nvcc]
> flags=-D_FORCE_INLINES
>
>
>
> On Tuesday, October 11, 2016 at 2:16:07 AM UTC-4, Jesse Livezey wrote:
>>
>> What are the contents of this file?
>> /home/rik/.theanorc
>> Does is have [nvcc] multiple times?
>>
>> On Monday, October 10, 2016 at 9:00:52 PM UTC-7, Rik wrote:
>>>
>>> Hey all,
>>>
>>> Python won't let me import theano. Here is the error I get:
>>>
>>> >>> import theano
>>> Traceback (most recent call last):
>>>   File "<stdin>", line 1, in <module>
>>>   File 
>>> "/home/rik/anaconda3/lib/python3.5/site-packages/theano/__init__.py", line 
>>> 39, in <module>
>>>     from theano.configdefaults import config
>>>   File 
>>> "/home/rik/anaconda3/lib/python3.5/site-packages/theano/configdefaults.py", 
>>> line 6, in <module>
>>>     from theano.configparser import (AddConfigVar, BoolParam, 
>>> ConfigParam, EnumStr,
>>>   File 
>>> "/home/rik/anaconda3/lib/python3.5/site-packages/theano/configparser.py", 
>>> line 83, in <module>
>>>     theano_cfg.read(config_files)
>>>   File "/home/rik/anaconda3/lib/python3.5/configparser.py", line 696, in 
>>> read
>>>     self._read(fp, filename)
>>>   File "/home/rik/anaconda3/lib/python3.5/configparser.py", line 1063, 
>>> in _read
>>>     lineno)
>>> configparser.DuplicateSectionError: While reading from 
>>> '/home/rik/.theanorc' [line  6]: section 'nvcc' already exists
>>>
>>> I think it has to do with tensorflow being installed since nvcc is a 
>>> CUDA thing I believe. not sure what to do to fix this. PLEASE HELP!!!
>>>
>>> -Rik
>>>
>>

-- 

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