解决Chunkize warning while installing gensim问题

2020-09-16 14:59:43 浏览数 (1)

问题:

代码语言:javascript复制
UserWarning: detected Windows; aliasing chunkize to chunkize_serial
  warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")

解决方案:

在import gensim前面加入:

代码语言:javascript复制
import warnings
warnings.filterwarnings(action='ignore', category=UserWarning, module='gensim')

import gensim

0 人点赞