python - Installing Theano with Canopy EPD on windows 7, 64 bit -


i have installed theano on canopy epd, windows 7, 64 bit. while importing theano (for testing @ first time), getting error. can help. thanks.

it similar question: installing theano on epd (windows x64)

exception: compilation failed (return status=1): c:\users\harish~1\appdata\local\temp\cclhoax7.o: in function unpack_list_of_ssize_t':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:58: undefined reference to__imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:68: undefined reference __imp_pyexc_indexerror'. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in functionclazylinker_init':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:341: undefined reference __imp_pycobject_type'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:362: undefined reference to__imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:380: undefined reference __imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:395: undefined reference to__imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:399: undefined reference __imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:403: undefined reference to__imp_pyexc_indexerror'. c:\users\harish~1\appdata\local\temp\cclhoax7.o:c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:407: more undefined references __imp_pyexc_indexerror' follow. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in functionclazylinker_init':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:415: undefined reference __imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:430: undefined reference to__imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:436: undefined reference __imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:450: undefined reference to__imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:454: undefined reference __imp__py_nonestruct'. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in functionc_call':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:555: undefined reference __imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:555: undefined reference to__imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:555: undefined reference __imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:556: undefined reference to__imp__py_nonestruct'. c:\users\harish~1\appdata\local\temp\cclhoax7.o:c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:556: more undefined references __imp__py_nonestruct' follow. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in functionlazy_rec_eval':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:628: undefined reference __imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:651: undefined reference to__imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:659: undefined reference __imp_pyexc_valueerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:667: undefined reference to__imp_pyexc_indexerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:718: undefined reference __imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:725: undefined reference to__imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:731: undefined reference __imp_pyexc_typeerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:781: undefined reference to__imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:781: undefined reference __imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:782: undefined reference to__imp__py_nonestruct'. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in function clazylinker_call':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:817: undefined reference to__imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:817: undefined reference __imp__py_nonestruct'. c:\users\harish~1\appdata\local\temp\cclhoax7.o:c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:818: more undefined references to__imp__py_nonestruct' follow. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in function clazylinker_call':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:867: undefined reference to__imp_pyexc_assertionerror'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:910: undefined reference __imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:910: undefined reference to__imp__py_nonestruct'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:911: undefined reference __imp__py_nonestruct'. c:\users\harish~1\appdata\local\temp\cclhoax7.o: in functionclazylinker_set_allow_gc':. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:943: undefined reference __imp_pybool_type'. c:/users/harish-chandra/appdata/local/theano/compiledir_windows-8-6.2.9200-intel64_family_6_model_58_stepping_9_genuineintel-2.7.9-64/lazylinker_ext/mod.cpp:946: undefined reference to__imp__py_truestruct'. collect2: ld returned 1 exit status. 

since question wasnt closed author , it's relevant epd users, including me when first started epd + theano, answer it.

first, remove other python environment if possible. sure there no other conflicting environment path of python, in case.

1.install epd canopy

2.install mingw package on package installer available on canopy application

that should easy do, open package manager inside canopy application.

3.install theano inside epd

before go spamming

pip install --upgrade --no-deps git+git://github.com/theano/theano.git

in every prompt of command see, dont it.

-- instead, open canopy.

in canopy screen, go "tools", , open "canopy command prompt"

a screen cmd windows open.

on screen, execute :

pip install --upgrade --no-deps git+git://github.com/theano/theano.git

should work fine now.

--

however, dont forget need , windows sdk , depending on windows version of course. can try installing last visual studio comes need.

if need more info on this, check related stackoverflow topic :

installing theano


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -