完整提示是这样的:
RuntimeError: Compiled extensions are unavailable. If you've installed from a package, ask the package maintainer to include compiled extensions. If you're building Gensim from source yourself, install Cython and a C compiler, and then run `python setup.py build_ext --inplace` to retry.
编译器提示我gensim无法识别,这是因为我之前将python3.8降到了python3.7,然后gensim的版本还是适配python3.8的从而导致出错,因此只需要将其卸载再安装即可,再安装的就是python3.7对应的版本:
pip uninstall gensim
pip install gensim