{"action":"opened","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/3408","labels_url":"https://api.github.com/repos/Theano/Theano/issues/3408/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/3408/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/3408/events","html_url":"https://github.com/Theano/Theano/issues/3408","id":107139121,"number":3408,"title":"Cannot use theano in Windows7 64bit and Anaconda","user":{"login":"auroralinan","id":5154847,"avatar_url":"https://avatars.githubusercontent.com/u/5154847?v=3","gravatar_id":"","url":"https://api.github.com/users/auroralinan","html_url":"https://github.com/auroralinan","followers_url":"https://api.github.com/users/auroralinan/followers","following_url":"https://api.github.com/users/auroralinan/following{/other_user}","gists_url":"https://api.github.com/users/auroralinan/gists{/gist_id}","starred_url":"https://api.github.com/users/auroralinan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auroralinan/subscriptions","organizations_url":"https://api.github.com/users/auroralinan/orgs","repos_url":"https://api.github.com/users/auroralinan/repos","events_url":"https://api.github.com/users/auroralinan/events{/privacy}","received_events_url":"https://api.github.com/users/auroralinan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T05:57:46Z","updated_at":"2015-09-18T05:57:46Z","closed_at":null,"body":"It's my first time to use theano. And when I tested these code [import theano   theano.test()] I got a problem. I'm using Windows7 64bit and Anaconda environment with python 2.7.9. And the theano is cloned from Git and I did the \"python setup.py develop\". My g++ is the MinGW64 installed with DEV-Cpp. It seems like a compile problem but I'm not familiar with compiling C and C++ code. I'm wondering what can I do to solve this.\r\n\r\nError codes are as follow,  (Sorry for my poor English. )\r\n\r\n\r\nProblem occurred during compilation with the command line below:\r\nC:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\bin\\g++.exe -shared -g -D NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -DMS_WIN64 -IC:\\Anaconda\\lib\\site-packages\\numpy\\core\\include -IC:\\Anaconda\\include -Ie:\\downloads\\theano-master\\theano-master\\theano\\gof -o C:\\Users\\Administrator\\AppData\\Local\\Theano\\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64\\lazylinker_ext\\lazylinker_ext.pyd C:\\Users\\Administrator\\AppData\\Local\\Theano\\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64\\lazylinker_ext\\mod.cpp -LC:\\Anaconda\\libs -LC:\\Anaconda -lpython27\r\n===============================\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `unpack_list_of_ssize_t':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:48: undefined reference to `__imp_PyExc_TypeError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:58: undefined reference to `__imp_PyExc_IndexError'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `CLazyLinker_init':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:331: undefined reference to `__imp_PyCObject_Type'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:352: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:370: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:385: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:389: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:393: undefined reference to `__imp_PyExc_IndexError'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o:C:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:397: more undefined references to `__imp_PyExc_IndexError' follow\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `CLazyLinker_init':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:405: undefined reference to `__imp_PyExc_TypeError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:420: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:426: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:444: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:440: undefined reference to `__imp_PyExc_TypeError'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `c_call':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:545: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:545: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:545: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:546: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:546: undefined reference to `__imp__Py_NoneStruct'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o:C:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:546: more undefined references to `__imp__Py_NoneStruct' follow\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `lazy_rec_eval':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:618: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:641: undefined reference to `__imp_PyExc_TypeError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:649: undefined reference to `__imp_PyExc_ValueError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:657: undefined reference to `__imp_PyExc_IndexError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:708: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:715: undefined reference to `__imp_PyExc_TypeError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:721: undefined reference to `__imp_PyExc_TypeError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:771: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:771: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:772: undefined reference to `__imp__Py_NoneStruct'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `CLazyLinker_call':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:807: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:807: undefined reference to `__imp__Py_NoneStruct'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o:C:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:808: more undefined references to `__imp__Py_NoneStruct' follow\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `CLazyLinker_call':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:857: undefined reference to `__imp_PyExc_AssertionError'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:900: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:900: undefined reference to `__imp__Py_NoneStruct'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:901: undefined reference to `__imp__Py_NoneStruct'\r\nC:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\cclEEOw9.o: In function `CLazyLinker_set_allow_gc':\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:933: undefined reference to `__imp_PyBool_Type'\r\nC:/Users/Administrator/AppData/Local/Theano/compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.9-64/lazylinker_ext/mod.cpp:936: undefined reference to `__imp__Py_TrueStruct'\r\ncollect2.exe: error: ld returned 1 exit status\r\n\r\nTraceback (most recent call last):\r\n  File \"E:/OneDrive/safeProject/signature/test.py\", line 14, in <module>\r\n    import theano\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\__init__.py\", line 63, in <module>\r\n    from theano.compile import (\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\compile\\__init__.py\", line 9, in <module>\r\n    from theano.compile.function_module import *\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\compile\\function_module.py\", line 22, in <module>\r\n    import theano.compile.mode\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\compile\\mode.py\", line 12, in <module>\r\n    import theano.gof.vm\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\gof\\vm.py\", line 672, in <module>\r\n    from . import lazylinker_c\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\gof\\lazylinker_c.py\", line 126, in <module>\r\n    preargs=args)\r\n  File \"e:\\downloads\\theano-master\\theano-master\\theano\\gof\\cmodule.py\", line 2176, in compile_str\r\n    (status, compile_stderr.replace('\\n', '. ')))\r\n. \r\n\r\nProcess finished with exit code 1\r\n"}}