Hi~everyone. I removed the python2.7.13.
There are only one version of python existing ( python 2.7.12 from anaconda)
And I unistall and re-install theano again.

In cmd window, I get some new errors: Compilation failed (return status=1)

Problem occurred during compilation with the command line below:
"C:\MinGW\bin\g++.exe" -shared -g 
-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -DMS_WIN64 
-I"E:\Anaconda\lib\site-packages\numpy\core\include" 
-I"E:\Anaconda\include" -I"E:\Anaconda\lib\site-packages\theano\gof" 
-L"E:\Anaconda\libs" -L"E:\Anaconda" -o 
C:\Users\zhouyidan\AppData\Local\Theano\compiledir_Windows-10-10.0.10586-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64\lazylinker_ext\lazylinker_ext.pyd
 
C:\Users\zhouyidan\AppData\Local\Theano\compiledir_Windows-10-10.0.10586-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64\lazylinker_ext\mod.cpp
 
-lpython27
C:\Users\zhouyidan\AppData\Local\Theano\compiledir_Windows-10-10.0.10586-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64\lazylinker_ext\mod.cpp:1:0:
 
sorry, unimplemented: 64-bit mode not compiled in
 #include <Python.h>
 ^

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "E:\Anaconda\lib\site-packages\theano\__init__.py", line 66, in 
<module>
    from theano.compile import (
  File "E:\Anaconda\lib\site-packages\theano\compile\__init__.py", line 10, 
in <module>
    from theano.compile.function_module import *
  File "E:\Anaconda\lib\site-packages\theano\compile\function_module.py", 
line 21, in <module>
    import theano.compile.mode
  File "E:\Anaconda\lib\site-packages\theano\compile\mode.py", line 10, in 
<module>
    import theano.gof.vm
  File "E:\Anaconda\lib\site-packages\theano\gof\vm.py", line 662, in 
<module>
    from . import lazylinker_c
  File "E:\Anaconda\lib\site-packages\theano\gof\lazylinker_c.py", line 
127, in <module>
    preargs=args)
  File "E:\Anaconda\lib\site-packages\theano\gof\cmodule.py", line 2316, in 
compile_str
    (status, compile_stderr.replace('\n', '. ')))
Exception: Compilation failed (return status=1): 
C:\Users\zhouyidan\AppData\Local\Theano\compiledir_Windows-10-10.0.10586-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-2.7.12-64\lazylinker_ext\mod.cpp:1:0:
 
sorry, unimplemented: 64-bit m.  ^include <Python.h>

<https://lh3.googleusercontent.com/-1gCw5nJM8QU/WOhziCYepLI/AAAAAAAAAAk/eSH8x-Fr7QsQmHNxRHOFQ6bddDeMXYkyACLcB/s1600/%25E6%258D%2595%25E8%258E%25B74.PNG>



> I wonder if it's because there are two versions of python that leads to 
> import error...
> (python 2.7.13-win32  in cmd window   &  python 2.7.12-win64 in Spder)
>

-- 

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