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
Update setup.py to python<3.7 to fix "C extension not loaded, training/inferring will be slow. Install a C compiler and reinstall fse" warning #44
Comments
It's also not specific to the version of python
|
I solved the issue. You have to explicitly set This is likely because in your |
This issue should be fixed in version |
@oborchers I was interested in trying this package out, but I am on Python 3.11, and was thinking about forking or making a pull request. Can you describe what the limitations are that currently require this to run on Python < 3.7? And if you think it would be feasible to get it up and running on Python 3.11, or would it be a waste of my time? Or with all the recent interest in LLMs and embeddings, do you think there is a better alternative in the open source community? I am targetting a large number of PDFs and have had problems getting the embeddings I want using popular embedding models on huggingface, but your approach with SIF seemed like it might get me closer to what I am looking for and to more easily generate tons of embeddings at the sentence or paragraph level. |
This is related to #18, which was closed but is not solved. Myself and another user (@lucas-ubm) are experiencing this problem on macOS systems, so it is not limited to Windows. I have tried installing
gensim
through conda to no avail. Any tips would be greatly appreciated.Error message:
Here is my machine setup:
macOS: MacBook Pro (15-inch, 2019), Version 11.2.3 (20D91)
Processor: 2.3 GHz 8-Core Intel Core i9
Memory: 32 GB 2400 MHz DDR4
Here is my conda env setup:
The text was updated successfully, but these errors were encountered: