-
Notifications
You must be signed in to change notification settings - Fork 121
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
Not able to install fastembed in windows machine. #305
Comments
Same issue for me on WSL2, tested on 3.11.6
I had to do a |
Could you please provide a little bit more details? I tried to reproduce it with python 3.8.10, 3.11.6 and 3.11.9 and it install perfectly.
|
@I8dNLo. Maybe this one will help. Seems to be also present in python 3.12. error: Failed to prepare distributions I used uv package manager with python 3.12.5. WSL2 |
What happened?
i was trying to install fastembed in my windows pc. But, i'm getting the followining error.
Building wheels for collected packages: PyStemmer
Building wheel for PyStemmer (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
C:\ML-projects\test\venv\lib\site-packages\setuptools_init_.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
r\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\kranthi\Local\Temp\pip-install-zwgss1_4\pystemmer_91e54316d52b417ba25745a6f1a176d1\src\Stemmer.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'Stemmer' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyStemmer
Running setup.py clean for PyStemmer
Failed to build PyStemmer
ERROR: Could not build wheels for PyStemmer, which is required to install pyproject.toml-based projects
What Python version are you on? e.g. python --version
tried with python 3.8 and 3.11
Version
0.2.7 (Latest)
What os are you seeing the problem on?
Windows
Relevant stack traces and/or logs
No response
The text was updated successfully, but these errors were encountered: