-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C extension not loaded, training will be slow. Install a C compiler and reinstall gensim for fast training. #2726
Comments
Can you show the console output from when you installed Gensim? Did your installation use the binary Windows wheel? |
I'm sorry this is my first issue that i have raised, what more details do you need? Problem : The gensim is showing c extension not loaded. |
Yes i used pip install gensim and conda install gensim later on after uninstalling pip version |
Your console output shows you are using Python 3.8; gensim build/testing for that Python version isn't yet working on our project's (Appveyor-based) Windows test environment, for unknown reasons, so the same thing is probably affecting you. Until that's fixed, you should have better luck with Python 3.7. Personally I'd suggest for Windows users:
|
(Specifically the Python 3.8 Appveyor failure is described in , and visible in the CI links from, this PR/PR-comment: #2715 (comment). I suspect it's actually a problem with one of the packaging, build, or prerequisite libraries we depend on not yet being 3.8-ready, and so may resolve itself in time as more of the Python world fully tests with Python 3.8 on Windows. In the meantime we may want to add an official note that gensim-on-Python-3.8-on-Windows is not yet an officially recommended/supported combination.) |
Closing assuming recommendation to use Python 3.7 on WIndows worked. |
Im trying to run naive-bayes.py from the following file(https://github.com/rockash/Fake-news-Detection) but i get the error mentioned in the title, i have tried uninstalling gensim and reinstalling it again using both pip and conda but nothing seems to work.i also have mingw installed and have added /bin to path as the warning suggests but it doesnt work either.I'm using windows 10 64 bit
The text was updated successfully, but these errors were encountered: