piskvorky / gensim

Topic Modelling for Humans
https://radimrehurek.com/gensim
GNU Lesser General Public License v2.1
15.65k stars 4.37k forks source link

cython compiled code is not seen (scipy 0.16.0) #429

Closed boyangli closed 9 years ago

boyangli commented 9 years ago

UserWarning: Cython compilation failed, training will be slow. Do you have Cython installed? pip install cython warnings.warn("Cython compilation failed, training will be slow. Do you have Cython installed? pip install cython")

I get the warning despite the fact that cython is installed and has compiled the files. I can see the compiled word2vec_inner.so in the directory venv/lib/python2.7/site-packages/gensim/models

Gensim is directly downloaded from the develop branch on Github today.

Reverting back to scipy 0.15.1 solved the problem.

I attach the output of python setup.py build:


running build running build_py creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/gensim copying gensim/utils.py -> build/lib.linux-x86_64-2.7/gensim copying gensim/nosy.py -> build/lib.linux-x86_64-2.7/gensim copying gensim/interfaces.py -> build/lib.linux-x86_64-2.7/gensim copying gensim/init.py -> build/lib.linux-x86_64-2.7/gensim copying gensim/matutils.py -> build/lib.linux-x86_64-2.7/gensim creating build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/syntactic_unit.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/commons.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/textcleaner.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/keywords.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/graph.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/pagerank_weighted.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/bm25.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/init.py -> build/lib.linux-x86_64-2.7/gensim/summarization copying gensim/summarization/summarizer.py -> build/lib.linux-x86_64-2.7/gensim/summarization creating build/lib.linux-x86_64-2.7/gensim/parsing copying gensim/parsing/preprocessing.py -> build/lib.linux-x86_64-2.7/gensim/parsing copying gensim/parsing/porter.py -> build/lib.linux-x86_64-2.7/gensim/parsing copying gensim/parsing/init.py -> build/lib.linux-x86_64-2.7/gensim/parsing creating build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wiki.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wiki_online_nodebug.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wikicorpus.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wiki_lemma.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wiki_online.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/make_wiki_online_lemma.py -> build/lib.linux-x86_64-2.7/gensim/scripts copying gensim/scripts/init.py -> build/lib.linux-x86_64-2.7/gensim/scripts creating build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/textcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/dictionary.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/wikicorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/sharded_corpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/mmcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/svmlightcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/lowcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/malletcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/ucicorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/indexedcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/bleicorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/csvcorpus.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/init.py -> build/lib.linux-x86_64-2.7/gensim/corpora copying gensim/corpora/hashdictionary.py -> build/lib.linux-x86_64-2.7/gensim/corpora creating build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_corpora_dictionary.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_parsing.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_doc2vec.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/svd_error.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/simspeed.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_miislita.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_corpora_hashdictionary.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_corpora.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/simspeed2.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_similarities.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_summarization.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_lee.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_phrases.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_word2vec.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_big.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_dtm.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_utils.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_models.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/init.py -> build/lib.linux-x86_64-2.7/gensim/test copying gensim/test/test_sharded_corpus.py -> build/lib.linux-x86_64-2.7/gensim/test creating build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/rpmodel.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/word2vec.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/hdpmodel.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/lsimodel.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/lsi_worker.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/phrases.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/ldamodel.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/tfidfmodel.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/doc2vec.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/lda_dispatcher.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/logentropy_model.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/ldamulticore.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/lda_worker.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/init.py -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/lsi_dispatcher.py -> build/lib.linux-x86_64-2.7/gensim/models creating build/lib.linux-x86_64-2.7/gensim/similarities copying gensim/similarities/docsim.py -> build/lib.linux-x86_64-2.7/gensim/similarities copying gensim/similarities/init.py -> build/lib.linux-x86_64-2.7/gensim/similarities creating build/lib.linux-x86_64-2.7/gensim/models/wrappers copying gensim/models/wrappers/ldamallet.py -> build/lib.linux-x86_64-2.7/gensim/models/wrappers copying gensim/models/wrappers/ldavowpalwabbit.py -> build/lib.linux-x86_64-2.7/gensim/models/wrappers copying gensim/models/wrappers/dtmmodel.py -> build/lib.linux-x86_64-2.7/gensim/models/wrappers copying gensim/models/wrappers/init.py -> build/lib.linux-x86_64-2.7/gensim/models/wrappers running egg_info writing requirements to gensim.egg-info/requires.txt writing gensim.egg-info/PKG-INFO writing top-level names to gensim.egg-info/top_level.txt writing dependency_links to gensim.egg-info/dependency_links.txt reading manifest file 'gensim.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.sh' under directory '.' writing manifest file 'gensim.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/dtm_test.dict -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/dtm_test.mm -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/head500.noblanks.cor -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/head500.noblanks.cor.bz2 -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/head500.noblanks.cor_tfidf.model -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/head500.noblanks.cor_wordids.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/lee.cor -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/lee_background.cor -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/miIslita.cor -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/mihalcea_tarau.summ.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/mihalcea_tarau.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/para2para_text1.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/para2para_text2.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/similarities0-1.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/test_corpus_ok.mm -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/test_corpus_small.mm -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.blei -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.blei.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.blei.vocab -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.low -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.low.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.mallet -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.mallet.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.mm -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.mm.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.svmlight -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.svmlight.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.uci -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.uci.index -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testcorpus.uci.vocab -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/test/test_data/testsummarization_unrelated.txt -> build/lib.linux-x86_64-2.7/gensim/test/test_data copying gensim/models/doc2vec_inner.c -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/doc2vec_inner.pyx -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/voidptr.h -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/word2vec_inner.c -> build/lib.linux-x86_64-2.7/gensim/models copying gensim/models/word2vec_inner.pyx -> build/lib.linux-x86_64-2.7/gensim/models running build_ext building 'gensim.models.word2vec_inner' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/gensim creating build/temp.linux-x86_64-2.7/gensim/models gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igensim/models -I/usr/local/include/python2.7 -I/home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include -c ./gensim/models/word2vec_inner.c -o build/temp.linux-x86_64-2.7/./gensim/models/word2vec_inner.o In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ./gensim/models/word2vec_inner.c:258: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it by " \

^ In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ./gensim/models/word2vec_inner.c:258: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0, from ./gensim/models/word2vec_inner.c:259: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ ./gensim/models/word2vec_inner.c: In function ‘pyx_pf_6gensim_6models_14word2vec_inner_2train_sentence_cbow.isra.11’: ./gensim/models/word2vec_inner.c:2767:65: warning: ‘pyx_v_syn1neg’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = __pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), pyx_v_neu1, (&pyx_v_6gensim_6models_14word2vec_inner_ONE), (&(pyx_v_syn1neg[pyx_v_row2])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE)); ^ ./gensim/models/word2vec_inner.c:4050:52: note: ‘pyx_v_syn1neg’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t *pyx_v_syn1neg; ^ ./gensim/models/word2vec_inner.c:2709:151: warning: ‘pyx_v_cum_table_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(__pyx_v_cum_table, ((pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/word2vec_inner.c:4052:25: note: ‘pyx_v_cum_table_len’ was declared here unsigned PY_LONG_LONG pyx_v_cum_table_len; ^ ./gensim/models/word2vec_inner.c:2709:151: warning: ‘__pyx_v_cum_table’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(__pyx_v_cum_table, ((pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/word2vec_inner.c:4051:28: note: ‘pyx_v_cum_table’ was declared here pyx_t_5numpy_uint32_t *pyx_v_cum_table; ^ ./gensim/models/word2vec_inner.c:1873:58: warning: ‘pyx_v_next_random’ may be used uninitialized in this function -Wmaybe-uninitialized = ((((pyx_v_next_random[0]) * ((unsigned PY_LONG_LONG)25214903917ULL)) + 11) & 281474976710655ULL); ^ ./gensim/models/word2vec_inner.c:4053:25: note: ‘pyx_v_next_random’ was declared here unsigned PY_LONG_LONG pyx_v_next_random; ^ ./gensim/models/word2vec_inner.c:2337:65: warning: ‘pyx_v_syn1’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), pyx_v_neu1, (&pyx_v_6gensim_6models_14word2vec_inner_ONE), (&(pyx_v_syn1[pyx_v_row2])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE)); ^ ./gensim/models/word2vec_inner.c:4047:52: note: ‘pyx_v_syn1’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t *pyx_v_syn1; ^ ./gensim/models/word2vec_inner.c: In function ‘pyx_pf_6gensim_6models_14word2vec_inner_train_sentence_sg.isra.12’: ./gensim/models/word2vec_inner.c:2055:65: warning: ‘pyx_v_syn1neg’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = __pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), (&(pyx_v_syn0[pyx_v_row1])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE), (&(pyx_v_syn1neg[pyx_v_row2])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE)); ^ ./gensim/models/word2vec_inner.c:3033:52: note: ‘pyx_v_syn1neg’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t pyx_v_syn1neg; ^ ./gensim/models/word2vec_inner.c:1997:151: warning: ‘pyx_v_cum_table_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(pyx_v_cum_table, ((__pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/word2vec_inner.c:3035:25: note: ‘pyx_v_cum_table_len’ was declared here unsigned PY_LONG_LONG pyx_v_cum_table_len; ^ ./gensim/models/word2vec_inner.c:1997:151: warning: ‘pyx_v_cum_table’ may be used uninitialized in this function [-Wmaybe-uninitialized] __pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(pyx_v_cum_table, ((__pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/word2vec_inner.c:3034:28: note: ‘__pyx_v_cum_table’ was declared here __pyx_t_5numpy_uint32_t pyx_v_cum_table; ^ ./gensim/models/word2vec_inner.c:1873:58: warning: ‘pyx_v_next_random’ may be used uninitialized in this function -Wmaybe-uninitialized = ((((pyx_v_next_random[0]) * ((unsigned PY_LONG_LONG)25214903917ULL)) + 11) & 281474976710655ULL); ^ ./gensim/models/word2vec_inner.c:3036:25: note: ‘pyx_v_next_random’ was declared here unsigned PY_LONG_LONG pyx_v_next_random; ^ ./gensim/models/word2vec_inner.c:1667:65: warning: ‘pyx_v_syn1’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), (&(pyx_v_syn0[pyx_v_row1])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE), (&(pyx_v_syn1[pyx_v_row2])), (&pyx_v_6gensim_6models_14word2vec_inner_ONE)); ^ ./gensim/models/word2vec_inner.c:3030:52: note: ‘pyx_v_syn1’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t *pyx_v_syn1; ^ gcc -pthread -shared build/temp.linux-x86_64-2.7/./gensim/models/word2vec_inner.o -o build/lib.linux-x86_64-2.7/gensim/models/word2vec_inner.so building 'gensim.models.doc2vec_inner' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Igensim/models -I/usr/local/include/python2.7 -I/home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include -c ./gensim/models/doc2vec_inner.c -o build/temp.linux-x86_64-2.7/./gensim/models/doc2vec_inner.o In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ./gensim/models/doc2vec_inner.c:257: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it by " \

^ In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ./gensim/models/doc2vec_inner.c:257: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ufuncobject.h:317:0, from ./gensim/models/doc2vec_inner.c:258: /home/albert/Code/Python/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ ./gensim/models/doc2vec_inner.c: In function ‘pyx_pf_6gensim_6models_13doc2vec_inner_2train_document_dm.isra.11’: ./gensim/models/doc2vec_inner.c:2190:65: warning: ‘pyx_v_syn1neg’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = __pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), pyx_v_neu1, (&pyx_v_6gensim_6models_13doc2vec_inner_ONE), (&(pyx_v_syn1neg[pyx_v_row2])), (&pyx_v_6gensim_6models_13doc2vec_inner_ONE)); ^ ./gensim/models/doc2vec_inner.c:4391:52: note: ‘pyx_v_syn1neg’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t *pyx_v_syn1neg; ^ ./gensim/models/doc2vec_inner.c:2132:151: warning: ‘pyx_v_cum_table_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(__pyx_v_cum_table, ((pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/doc2vec_inner.c:4393:25: note: ‘pyx_v_cum_table_len’ was declared here unsigned PY_LONG_LONG pyx_v_cum_table_len; ^ ./gensim/models/doc2vec_inner.c:2132:151: warning: ‘__pyx_v_cum_table’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(__pyx_v_cum_table, ((pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/doc2vec_inner.c:4392:28: note: ‘pyx_v_cum_table’ was declared here pyx_t_5numpy_uint32_t *pyx_v_cum_table; ^ ./gensim/models/doc2vec_inner.c:1960:65: warning: ‘pyx_v_syn1’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_size), pyx_v_neu1, (&pyx_v_6gensim_6models_13doc2vec_inner_ONE), (&(pyx_v_syn1[pyx_v_row2])), (&pyx_v_6gensim_6models_13doc2vec_inner_ONE)); ^ ./gensim/models/doc2vec_inner.c:4388:52: note: ‘pyx_v_syn1’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t *__pyx_v_syn1; ^ ./gensim/models/doc2vec_inner.c: In function ‘pyx_pf_6gensim_6models_13doc2vec_inner_train_document_dbow.isra.12’: ./gensim/models/doc2vec_inner.c:4081:99: warning: ‘pyx_v_syn1neg’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_next_random = pyx_f_6gensim_6models_13doc2vec_inner_fast_document_dbow_neg(pyx_v_negative, pyx_v_cum_table, pyx_v_cum_table_len, pyx_v__doctag_vectors, pyx_v_syn1neg, pyx_v_size, (pyx_v_indexes[pyx_v_i]), (pyx_vdoctag_indexes[pyx_v_j]), pyx_valpha, pyx_vwork, pyx_v_next_random, pyx_vlearn_doctags, __pyx_vlearn_hidden, pyx_vdoctag_locks); ^ ./gensim/models/doc2vec_inner.c:4081:99: warning: ‘pyx_v_cum_table_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] ./gensim/models/doc2vec_inner.c:4081:99: warning: ‘pyx_v_cum_table’ may be used uninitialized in this function [-Wmaybe-uninitialized] ./gensim/models/doc2vec_inner.c:4059:76: warning: ‘pyx_v_syn1’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_f_6gensim_6models_13doc2vec_inner_fast_document_dbow_hs((pyx_v_points[pyx_v_i]), (pyx_v_codes[pyx_v_i]), (pyx_v_codelens[pyx_v_i]), pyx_v__doctag_vectors, pyx_v_syn1, pyx_v_size, (pyx_vdoctag_indexes[pyx_v_j]), pyx_valpha, pyx_vwork, pyx_vlearn_doctags, pyx_v__learn_hidden, pyx_vdoctag_locks); ^ ./gensim/models/doc2vec_inner.c: In function ‘pyx_pf_6gensim_6models_13doc2vec_inner_4train_document_dm_concat.isra.10’: ./gensim/models/doc2vec_inner.c:2569:65: warning: ‘pyx_v_syn1neg’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = pyx_v_6gensim_6models_14word2vec_inner_our_dot((&__pyx_v_layer1_size), pyx_v_neu1, (&pyx_v_6gensim_6models_13doc2vec_inner_ONE), (&(pyx_v_syn1neg[pyx_v_row2])), (&pyx_v_6gensim_6models_13doc2vec_inner_ONE)); ^ ./gensim/models/doc2vec_inner.c:6097:52: note: ‘pyx_v_syn1neg’ was declared here pyx_t_6gensim_6models_14word2vec_inner_REAL_t pyx_v_syn1neg; ^ ./gensim/models/doc2vec_inner.c:2511:151: warning: ‘pyx_v_cum_table_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(pyx_v_cum_table, ((__pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/doc2vec_inner.c:6099:25: note: ‘pyx_v_cum_table_len’ was declared here unsigned PY_LONG_LONG pyx_v_cum_table_len; ^ ./gensim/models/doc2vec_inner.c:2511:151: warning: ‘pyx_v_cum_table’ may be used uninitialized in this function [-Wmaybe-uninitialized] __pyx_v_target_index = pyx_f_6gensim_6models_14word2vec_inner_bisect_left(pyx_v_cum_table, ((__pyx_v_next_random >> 16) % (pyx_v_cum_table[(pyx_v_cum_table_len - 1)])), 0, pyx_v_cum_table_len); ^ ./gensim/models/doc2vec_inner.c:6098:28: note: ‘__pyx_v_cum_table’ was declared here __pyx_t_5numpy_uint32_t pyx_v_cum_table; ^ ./gensim/models/doc2vec_inner.c:2339:65: warning: ‘pyx_v_syn1’ may be used uninitialized in this function [-Wmaybe-uninitialized] pyx_v_f = pyx_v_6gensim_6models_14word2vec_inner_our_dot((&pyx_v_layer1_size), pyx_v_neu1, (&pyx_v_6gensim_6models_13doc2vec_inner_ONE), (&(pyx_v_syn1[pyx_v_row2])), (&__pyx_v_6gensim_6models_13doc2vec_inner_ONE)); ^ ./gensim/models/doc2vec_inner.c:6094:52: note: ‘pyx_v_syn1’ was declared here __pyx_t_6gensim_6models_14word2vec_inner_REAL_t *__pyx_v_syn1; ^ gcc -pthread -shared build/temp.linux-x86_64-2.7/./gensim/models/doc2vec_inner.o -o build/lib.linux-x86_64-2.7/gensim/models/doc2vec_inner.so (venv)albert@tyler:~/Code/Python/gensim$


and the output of python setup.py install


running install running bdist_egg running egg_info writing requirements to gensim.egg-info/requires.txt writing gensim.egg-info/PKG-INFO writing top-level names to gensim.egg-info/top_level.txt writing dependency_links to gensim.egg-info/dependency_links.txt reading manifest file 'gensim.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.sh' under directory '.' writing manifest file 'gensim.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/gensim creating build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/syntactic_unit.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/commons.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/textcleaner.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/keywords.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/graph.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/pagerank_weighted.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/bm25.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/init.py -> build/bdist.linux-x86_64/egg/gensim/summarization copying build/lib.linux-x86_64-2.7/gensim/summarization/summarizer.py -> build/bdist.linux-x86_64/egg/gensim/summarization creating build/bdist.linux-x86_64/egg/gensim/parsing copying build/lib.linux-x86_64-2.7/gensim/parsing/preprocessing.py -> build/bdist.linux-x86_64/egg/gensim/parsing copying build/lib.linux-x86_64-2.7/gensim/parsing/porter.py -> build/bdist.linux-x86_64/egg/gensim/parsing copying build/lib.linux-x86_64-2.7/gensim/parsing/init.py -> build/bdist.linux-x86_64/egg/gensim/parsing copying build/lib.linux-x86_64-2.7/gensim/utils.py -> build/bdist.linux-x86_64/egg/gensim creating build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wiki.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wiki_online_nodebug.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wikicorpus.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wiki_lemma.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wiki_online.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/make_wiki_online_lemma.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/scripts/init.py -> build/bdist.linux-x86_64/egg/gensim/scripts copying build/lib.linux-x86_64-2.7/gensim/nosy.py -> build/bdist.linux-x86_64/egg/gensim creating build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/textcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/dictionary.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/wikicorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/sharded_corpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/mmcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/svmlightcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/lowcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/malletcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/ucicorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/indexedcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/bleicorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/csvcorpus.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/init.py -> build/bdist.linux-x86_64/egg/gensim/corpora copying build/lib.linux-x86_64-2.7/gensim/corpora/hashdictionary.py -> build/bdist.linux-x86_64/egg/gensim/corpora creating build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_corpora_dictionary.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_parsing.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_doc2vec.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/svd_error.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/simspeed.py -> build/bdist.linux-x86_64/egg/gensim/test creating build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/test_corpus_ok.mm -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/lee_background.cor -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/test_corpus_small.mm -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.mallet -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/head500.noblanks.cor_wordids.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.mm -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.uci.vocab -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.mallet.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.uci.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/head500.noblanks.cor -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/lee.cor -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testsummarization_unrelated.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/miIslita.cor -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/para2para_text2.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.blei.vocab -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.low -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.svmlight -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/head500.noblanks.cor.bz2 -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/para2para_text1.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/similarities0-1.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.blei -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.uci -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.blei.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/head500.noblanks.cor_tfidf.model -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/mihalcea_tarau.summ.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.svmlight.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.low.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/testcorpus.mm.index -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/dtm_test.mm -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/mihalcea_tarau.txt -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_data/dtm_test.dict -> build/bdist.linux-x86_64/egg/gensim/test/test_data copying build/lib.linux-x86_64-2.7/gensim/test/test_miislita.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_corpora_hashdictionary.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_corpora.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/simspeed2.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_similarities.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_summarization.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_lee.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_phrases.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_word2vec.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_big.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_dtm.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_utils.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_models.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/init.py -> build/bdist.linux-x86_64/egg/gensim/test copying build/lib.linux-x86_64-2.7/gensim/test/test_sharded_corpus.py -> build/bdist.linux-x86_64/egg/gensim/test creating build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/rpmodel.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/voidptr.h -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/word2vec.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/hdpmodel.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/doc2vec_inner.c -> build/bdist.linux-x86_64/egg/gensim/models creating build/bdist.linux-x86_64/egg/gensim/models/wrappers copying build/lib.linux-x86_64-2.7/gensim/models/wrappers/ldamallet.py -> build/bdist.linux-x86_64/egg/gensim/models/wrappers copying build/lib.linux-x86_64-2.7/gensim/models/wrappers/ldavowpalwabbit.py -> build/bdist.linux-x86_64/egg/gensim/models/wrappers copying build/lib.linux-x86_64-2.7/gensim/models/wrappers/dtmmodel.py -> build/bdist.linux-x86_64/egg/gensim/models/wrappers copying build/lib.linux-x86_64-2.7/gensim/models/wrappers/init.py -> build/bdist.linux-x86_64/egg/gensim/models/wrappers copying build/lib.linux-x86_64-2.7/gensim/models/word2vec_inner.c -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/word2vec_inner.so -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/word2vec_inner.pyx -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/lsimodel.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/lsi_worker.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/doc2vec_inner.so -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/phrases.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/ldamodel.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/tfidfmodel.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/doc2vec.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/lda_dispatcher.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/logentropy_model.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/doc2vec_inner.pyx -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/ldamulticore.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/lda_worker.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/init.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/models/lsi_dispatcher.py -> build/bdist.linux-x86_64/egg/gensim/models copying build/lib.linux-x86_64-2.7/gensim/interfaces.py -> build/bdist.linux-x86_64/egg/gensim creating build/bdist.linux-x86_64/egg/gensim/similarities copying build/lib.linux-x86_64-2.7/gensim/similarities/docsim.py -> build/bdist.linux-x86_64/egg/gensim/similarities copying build/lib.linux-x86_64-2.7/gensim/similarities/init.py -> build/bdist.linux-x86_64/egg/gensim/similarities copying build/lib.linux-x86_64-2.7/gensim/init.py -> build/bdist.linux-x86_64/egg/gensim copying build/lib.linux-x86_64-2.7/gensim/matutils.py -> build/bdist.linux-x86_64/egg/gensim byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/syntactic_unit.py to syntactic_unit.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/commons.py to commons.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/textcleaner.py to textcleaner.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/keywords.py to keywords.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/graph.py to graph.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/pagerank_weighted.py to pagerank_weighted.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/bm25.py to bm25.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/summarization/summarizer.py to summarizer.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/parsing/preprocessing.py to preprocessing.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/parsing/porter.py to porter.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/parsing/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/utils.py to utils.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wiki.py to make_wiki.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wiki_online_nodebug.py to make_wiki_online_nodebug.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wikicorpus.py to make_wikicorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wiki_lemma.py to make_wiki_lemma.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wiki_online.py to make_wiki_online.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/make_wiki_online_lemma.py to make_wiki_online_lemma.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/scripts/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/nosy.py to nosy.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/textcorpus.py to textcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/dictionary.py to dictionary.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/wikicorpus.py to wikicorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/sharded_corpus.py to sharded_corpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/mmcorpus.py to mmcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/svmlightcorpus.py to svmlightcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/lowcorpus.py to lowcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/malletcorpus.py to malletcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/ucicorpus.py to ucicorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/indexedcorpus.py to indexedcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/bleicorpus.py to bleicorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/csvcorpus.py to csvcorpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/corpora/hashdictionary.py to hashdictionary.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_corpora_dictionary.py to test_corpora_dictionary.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_parsing.py to test_parsing.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_doc2vec.py to test_doc2vec.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/svd_error.py to svd_error.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/simspeed.py to simspeed.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_miislita.py to test_miislita.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_corpora_hashdictionary.py to test_corpora_hashdictionary.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_corpora.py to test_corpora.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/simspeed2.py to simspeed2.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_similarities.py to test_similarities.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_summarization.py to test_summarization.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_lee.py to test_lee.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_phrases.py to test_phrases.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_word2vec.py to test_word2vec.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_big.py to test_big.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_dtm.py to test_dtm.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_utils.py to test_utils.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_models.py to test_models.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/test/test_sharded_corpus.py to test_sharded_corpus.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/rpmodel.py to rpmodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/word2vec.py to word2vec.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/hdpmodel.py to hdpmodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/wrappers/ldamallet.py to ldamallet.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/wrappers/ldavowpalwabbit.py to ldavowpalwabbit.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/wrappers/dtmmodel.py to dtmmodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/wrappers/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/lsimodel.py to lsimodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/lsi_worker.py to lsi_worker.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/phrases.py to phrases.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/ldamodel.py to ldamodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/tfidfmodel.py to tfidfmodel.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/doc2vec.py to doc2vec.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/lda_dispatcher.py to lda_dispatcher.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/logentropy_model.py to logentropy_model.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/ldamulticore.py to ldamulticore.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/lda_worker.py to lda_worker.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/lsi_dispatcher.py to lsi_dispatcher.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/interfaces.py to interfaces.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/similarities/docsim.py to docsim.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/similarities/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/matutils.py to matutils.pyc creating stub loader for gensim/models/word2vec_inner.so creating stub loader for gensim/models/doc2vec_inner.so byte-compiling build/bdist.linux-x86_64/egg/gensim/models/word2vec_inner.py to word2vec_inner.pyc byte-compiling build/bdist.linux-x86_64/egg/gensim/models/doc2vec_inner.py to doc2vec_inner.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying gensim.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt creating 'dist/gensim-0.12.1-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing gensim-0.12.1-py2.7-linux-x86_64.egg creating /home/albert/Code/Python/venv/lib/python2.7/site-packages/gensim-0.12.1-py2.7-linux-x86_64.egg Extracting gensim-0.12.1-py2.7-linux-x86_64.egg to /home/albert/Code/Python/venv/lib/python2.7/site-packages Adding gensim 0.12.1 to easy-install.pth file

Installed /home/albert/Code/Python/venv/lib/python2.7/site-packages/gensim-0.12.1-py2.7-linux-x86_64.egg Processing dependencies for gensim==0.12.1 Searching for smart-open==1.2.1 Best match: smart-open 1.2.1 Adding smart-open 1.2.1 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Searching for six==1.9.0 Best match: six 1.9.0 Adding six 1.9.0 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Searching for scipy==0.16.0 Best match: scipy 0.16.0 Adding scipy 0.16.0 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Searching for numpy==1.9.2 Best match: numpy 1.9.2 Adding numpy 1.9.2 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Searching for boto==2.38.0 Best match: boto 2.38.0 Adding boto 2.38.0 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Searching for bz2file==0.98 Best match: bz2file 0.98 Adding bz2file 0.98 to easy-install.pth file

Using /home/albert/Code/Python/venv/lib/python2.7/site-packages Finished processing dependencies for gensim==0.12.1

gojomo commented 9 years ago

I believe the exact words "cython compilation failed" no longer appear in the current ('develop') branch of gensim (the warning has been slightly reworded) – so if you're getting that error, your test/python-executable may not be running the latest-source version you think you are.

Also, technically cython isn't even required, unless you need to regenerate the .c files – the more important thing (when this is an issue) is having the c-build tools and python-headers, so the .c can be compiled. (But here the issue is the scipy 0.16+ incompatibility, being misleadingly reported.)

boyangli commented 9 years ago

@gojomo You are right. I am running the wrong thing. The code loads Word2Vec from a different file. I'm sorry for the inconvenience caused. And thanks so much for the help!