Hi, 
The first error that you reported has been fixed, or a PR is underway. The 
second error is because you are in a directory named theano. Go up by a 
level and it'd be solved. (and will work elsewhere too)
Hope that helps.

Cheers,
Ramana

On Saturday, February 4, 2017 at 9:28:26 AM UTC+1, [email protected] 
wrote:
>
>
>   I have installed thaeno on ubuntu 14.04 by installing git package and 
> then install. After running install, it gives output
>
>   Installed /home/shankar/Downloads/Theano-master
> Processing dependencies for Theano==0.9.0beta1
> Searching for six==1.10.0
> Best match: six 1.10.0
> Processing six-1.10.0-py2.7.egg
> six 1.10.0 is already the active version in easy-install.pth
>
> Using /usr/local/lib/python2.7/dist-packages/six-1.10.0-py2.7.egg
> Searching for scipy==0.18.0
> Best match: scipy 0.18.0
> Processing scipy-0.18.0-py2.7-linux-x86_64.egg
> scipy 0.18.0 is already the active version in easy-install.pth
>
> Using 
> /usr/local/lib/python2.7/dist-packages/scipy-0.18.0-py2.7-linux-x86_64.egg
> Searching for numpy==1.12.0
> Best match: numpy 1.12.0
> Processing numpy-1.12.0-py2.7-linux-x86_64.egg
> numpy 1.12.0 is already the active version in easy-install.pth
> Installing f2py script to /usr/local/bin
>
> Using 
> /usr/local/lib/python2.7/dist-packages/numpy-1.12.0-py2.7-linux-x86_64.egg
> Finished processing dependencies for Theano==0.9.0beta1
>
> indicating that it is sucessfully installed.
>
> After I got to python prompt and run import theano
>
> I get the error 
>
> >>> import theano
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "theano/__init__.py", line 66, in <module>
>     from theano.compile import (
>   File "theano/compile/__init__.py", line 10, in <module>
>     from theano.compile.function_module import *
>   File "theano/compile/function_module.py", line 21, in <module>
>     import theano.compile.mode
>   File "theano/compile/mode.py", line 10, in <module>
>     import theano.gof.vm
>   File "theano/gof/vm.py", line 663, in <module>
>     from . import lazylinker_c
>   File "theano/gof/lazylinker_c.py", line 127, in <module>
>     preargs=args)
>   File "theano/gof/cmodule.py", line 2237, in compile_str
>     include_dirs = include_dirs + std_include_dirs()
>   File "theano/gof/cmodule.py", line 1581, in std_include_dirs
>     numpy_inc_dirs = np.distutils.misc_util.get_numpy_include_dirs()
> AttributeError: 'module' object has no attribute 'distutils'
>  
>
> when I run it first time and every next time I run, I get error
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "theano/__init__.py", line 66, in <module>
>     from theano.compile import (
>   File "theano/compile/__init__.py", line 10, in <module>
>     from theano.compile.function_module import *
>   File "theano/compile/function_module.py", line 18, in <module>
>     from theano import config, gof
> ImportError: cannot import name gof
>
> Please tell me how can it be resolved
>
>

-- 

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