-
Notifications
You must be signed in to change notification settings - Fork 132
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
hnswlib dependency issue #1
Comments
Running on Mac and tried everything i could ,.. failed |
One of the package in requirement.txt is pywin32 which is a window specific pkg so you cannot use this code on any Unix platform @nicknochnack can you please resolve these issues. |
yeah i deleted that one from requirement txt, and i tried python 3.10.10 and everything i could find on google/stackoverflow and etc. just cannot install chromadb...sad.... i guess it's due to clang or c++ complier . not sure |
I installed and ran the Microsoft Visual C++ Build Tools. Here is what I did step-by-step...
After successfully installing the build tools, you can try installing hope this helps 😊 |
I am on Mac and got stuck on this too. After some testing I found a way that worked with some help from Stackoverflow. Think these were the only steps I needed to get it working:
|
thanks for ur kindly reply,, i tried step2 and could not got chromadb installed lol |
Okay, sorry to hear that. Is it the chromadb install keeps failing if you do "pip install chromadb"? Or does it get stuck somewhere else in the requirements install? I realise now that I also removed "PyYAML" from requirements.txt per the suggestion in this pull request, not sure if it has an impact |
no luck lol, i guess that was still the clang issue. my python version is 3.9.16 on Monterey 12.6.6, with xcode installed, gcc installed and etc. i found that err msg like " error: command '/usr/bin/clang' failed with exit code 1" and 'ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects' appeared for these kind of issue... I'm thinking to update my MacOs for next try. |
If your python is from a conda environment, |
Which package caused the issue?
hnswlib
What was the issue
I think it requires Clang with version
14>
which can be installed with installing Microsoft Visual Studio.Software/OS/platform with versions used
Complete Error
The text was updated successfully, but these errors were encountered: