You seem to have the same problem as this: 
https://github.com/Theano/Theano/issues/6645 
<https://github.com/Theano/Theano/issues/6645>

Unfortunately as explained in that ticket the solution is rather involved and 
would require more time than we have available for now.

> Le 26 sept. 2018 à 22:01, Christopher Grubb <grubb2...@gmail.com> a écrit :
> 
> After following the Theano installation instructions, attempting to import 
> Theano using Python 3.5 gives me the following error:
> 
> You can find the C code in this temporary file: 
> /var/folders/0f/ymnzcwzs7k75g9rybwgzc9hc0000gn/T/theano_compilation_error_o4xziccn
> 
> Traceback (most recent call last):
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/gof/lazylinker_c.py", 
> line 81, in <module>
> 
>     actual_version, force_compile, _need_reload))
> 
> ImportError: Version check of the existing lazylinker compiled file. Looking 
> for version 0.211, but found None. Extra debug information: 
> force_compile=False, _need_reload=True
> 
> 
> 
> During handling of the above exception, another exception occurred:
> 
> 
> 
> Traceback (most recent call last):
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/gof/lazylinker_c.py", 
> line 105, in <module>
> 
>     actual_version, force_compile, _need_reload))
> 
> ImportError: Version check of the existing lazylinker compiled file. Looking 
> for version 0.211, but found None. Extra debug information: 
> force_compile=False, _need_reload=True
> 
> 
> 
> During handling of the above exception, another exception occurred:
> 
> 
> 
> Traceback (most recent call last):
> 
>   File "<stdin>", line 1, in <module>
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/__init__.py", line 110, 
> in <module>
> 
>     from theano.compile import (
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/compile/__init__.py", 
> line 12, in <module>
> 
>     from theano.compile.mode import *
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/compile/mode.py", line 
> 11, in <module>
> 
>     import theano.gof.vm
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/gof/vm.py", line 674, 
> in <module>
> 
>     from . import lazylinker_c
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/gof/lazylinker_c.py", 
> line 140, in <module>
> 
>     preargs=args)
> 
>   File "/anaconda3/lib/python3.5/site-packages/theano/gof/cmodule.py", line 
> 2388, in compile_str
> 
>     (status, compile_stderr.replace('\n', '. ')))
> 
> Exception: Compilation failed (return status=1): In file included from 
> /Users/chris/.theano/compiledir_Darwin-18.0.0-x86_64-i386-64bit-i386-3.5.6-64/lazylinker_ext/mod.cpp:1:.
>  In file included from /anaconda3/include/python3.5m/Python.h:25:. 
> /anaconda3/bin/../include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file 
> not found. #include_next <stdio.h>.               ^~~~~~~~~. 1 error 
> generated.. 
> 
> 
> I have installed Xcode command-line tools, all optional dependencies for 
> MacOS, uninstalled and re-installed Anaconda, etc.
> 
> Any help would be very much appreciated!
> 
> 
> -- 
> 
> --- 
> 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 theano-users+unsubscr...@googlegroups.com 
> <mailto:theano-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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 theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to