问题
I am running gensim on Linux Suse. I can start my python program but on startup I get:
C extension not loaded, training will be slow. Install a C compiler and reinstall gensim for fast training.
GCC is installed. Does anyone know what I have to do?
回答1:
Try the following:
Python 3.x
$ pip3 uninstall gensim
$ apt-get install python3-dev build-essential
$ pip3 install --upgrade gensim
Python 2.x
$ pip uninstall gensim
$ apt-get install python-dev build-essential
$ pip install --upgrade gensim
来源:https://stackoverflow.com/questions/50306710/gensim-c-extension-not-loaded-training-will-be-slow