Slow version of gensim.models.doc2vec is being used/C extension not loaded for Word2Vec

606 views
Skip to first unread message

Jinyi Park

unread,
Jun 14, 2017, 8:35:23 AM6/14/17
to gensim
When I tried to use word2vec, I get the below errors.
How can I do? :(

C:\Users\Jini\AppData\Local\Continuum\Anaconda3\lib\site-packages\gensim\utils.py:860: UserWarning: detected Windows; aliasing chunkize to chunkize_serial
  warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")
Slow version of gensim.models.doc2vec is being used
C:\Users\Jini\AppData\Local\Continuum\Anaconda3\lib\site-packages\gensim\models\word2vec.py:789: UserWarning: C extension not loaded for Word2Vec, training will be slow. Install a C compiler and reinstall gensim for fast training.
  warnings.warn("C extension not loaded for Word2Vec, training will be slow. "

My spec: Windows 10/ python 3.6.1 |Anaconda 4.4.0 (64-bit)|

Gordon Mohr

unread,
Jun 15, 2017, 4:02:08 PM6/15/17
to gensim
I don't have a Windows 10 system to test installation or see what happens in the 'working' case. 

On Linux/OSX, if you have this problem, the general strategy is to uninstall gensim, then re-install paying close attention to the logged output during installation for any warnings about missing libraries or compilers. Then, make sure those prerequisites (usually some build-tools and python- or math-related libraries) are added, and uninstall/reinstall again. 

- Gordon
Reply all
Reply to author
Forward
0 new messages