I have the same problem too. I am trying to build a Docker container with Theano, but it is not working.
On Saturday, 4 February 2017 14:53:54 UTC+1, Thomas wrote: > > I'm running into the same problem. > > On Sat, Feb 4, 2017 at 6:53 AM, Bi Ge <[email protected] <javascript:>> > 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] <javascript:>. >> 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.
