THis PR fix it:

https://github.com/Theano/Theano/pull/5497

We can't merge it now due to CI error, but it should be done in the next
few hours. You can use that PR in the mean time.

Fred

On Mon, Feb 6, 2017 at 8:31 AM, Shir Gur <[email protected]> wrote:

> Same same
>
> looks like an old bug that came back
>
> anyone knows how to install OLDER dev version??
>
>
> On Saturday, February 4, 2017 at 7:53:38 AM UTC+2, Bi Ge wrote:
>>
>> Hi folks,
>>
>> After running `python setup.py develop` and trying `import theano`, I
>> received an AttributeError with "'module' object has no attribute
>> 'distutils'", the detail is in following:
>>
>> >>> 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'
>>
>> However, `import numpy.distutils` works fine. Did I miss something
>> obvious? I'm running Python 2.7 with Numpy 1.8.2
>>
>> Bi
>>
>> --
>
> ---
> 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.
>

-- 

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