Python 导入gensim后WARNING: g++ not available

问题:

In [1]: import gensim

d:\Program Files\Anaconda2\lib\site-packages\gensim\utils.py:865: UserWarning: detected Windows; aliasing chunkize to chunkize_serial
  warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")
Using Theano backend.
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`

WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.

解决:

conda install mingw libpython

参考:

http://www.cnblogs.com/zhuangliu/p/5403458.html



你可能感兴趣的:(Python)