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
chromadb fails to install on windows 10 and python 3.9 #189
Comments
@taqihaider7 install python3.9 dev and install again, In my case:
this resolved for me |
don't it work on windows because on my friend's system with same specification it is working. |
You need to download https://visualstudio.microsoft.com/visual-cpp-build-tools/ first. |
The above fixes still dont work for me. This code will be the last of me!!😡 |
You mad? |
@HoiDam please be kind. It does sound frustrating. |
Yaaa. But it works in my machine. |
this really worked for me. Thanks a lot!!! :) |
Yes, this solved my exact same problem. thanks. |
It worked on my windows machine too! |
what to do after installing these files |
Thanks a lot for this. It worked perfectly :) |
This works for me as well. Thank you. |
Ok got it.... so a long winded solution for my use case but here it goes:
Solutions I tried but didn't work for me, however worked for others:
|
The solution worked for me too :) |
I still couldn't install chromadb after downloading and installing build tools. However, here is what worked for me in steps below: I had lots of problems installing chromadb but I finally installed it today using a pip command. Here is what worked for me: 2- Under workloads, make sure Desktop development with C++ is installed. 3- Create a conda Virtual Environment and choose Python version 3.10. You can do it the Anaconda Command prompt using the following command: 4- In Anaconda Prompt, make sure you are in the project directory where you installed the environment and type: 5- Try If it works, then you can use this environment for your project in Visual Studio Code. Some references about setting up environments in Visual Studio Code. |
Thanks my friend, it worked very well |
I can feel you man. |
I have installed sdk 11 and msvc too but it still shows this
this is the question stackoverflow: |
I tried above solution but it isn't working for me. I am using Windows 10 and Python 3.9 |
I've met the same issue on Windows 11 Python 3.11.8
|
Had the same issue. Reinstalling MSVC didn't work. I rebuilt the environment with Python 3.10 and it works just fine. |
`Building wheels for collected packages: hnswlib
Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'hnswlib' 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 hnswlib
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects`
I have also install the latest Microsoft Visual C++ redistributions but it is still giving the error
The text was updated successfully, but these errors were encountered: