from gensim._matutils import logsumexp, mean_absolute_difference, dirichlet_expectation File “

报错
from gensim._matutils import logsumexp, mean_absolute_difference, dirichlet_expectation

File “gensim_matutils.pyx”, line 1, in init gensim._matutils
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

在这里插入图片描述
把numpy版本从1.19.5换到1.20.1
from gensim._matutils import logsumexp, mean_absolute_difference, dirichlet_expectation File “_第1张图片

你可能感兴趣的:(py+深度学习,numpy,python,机器学习)