首页 > win7 64+32位python运行gensim模块出错

win7 64+32位python运行gensim模块出错

win764位系统下安装了32位的python和64位的g++,安装深度学习的模块theano,和自然语言处理模块gensim成功,运行:
from gensim import corpora, models
出现如下错误:
D:/MinGW/mingw64/lib/gcc/x86_64-w64-mingw32/6.1.0/include/c++/cmath:1133:11: error: '::hypot' has not been declared
using ::hypot;
将theano卸了以后再运行:
from gensim import corpora, models
出现如下错误:
ValueError: ("Buffer dtype mismatch, expected 'SIZE_t' but got 'long long'")
更新了scikit-learn模块也没有用,在linux服务器上运行流畅,因为想在本地电脑跑一下,结果一直调试不通。

【热门文章】
【热门文章】