问题描述:
C extension did not be loaded
gensim需要gcc、g++进行加速,
之前大多给的解决方案是
conda install libpython mingw
但是提示缺乏镜像源,最终找到了合适的镜像源进行添加之后就可以了
解决办法:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# 添加镜像源
conda install mingw libpython
# libpython 和 mingw 有先后,但是conda会自动依赖顺序安装。
Have Hacking~