简体   繁体   中英

Warning message after importing gensim module in Windows

When I tried to import gensim module in Windows, I end up with below error.

c:\\python27\\lib\\site-packages\\gensim-3.0.1-py2.7-win-amd64.egg\\gensim\\utils.py:862: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")

Is there any possibility to overcome this warning?

If you want to suppress this warning just use the following code, before importing gensim :

import warnings
warnings.filterwarnings(action='ignore', category=UserWarning, module='gensim')
import gensim

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM