Skip to content
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

[Install issue]: error: subprocess-exited-with-error #3810

Open
omkar-nath-reddy opened this issue Feb 19, 2025 · 1 comment
Open

[Install issue]: error: subprocess-exited-with-error #3810

omkar-nath-reddy opened this issue Feb 19, 2025 · 1 comment
Labels
installation trouble trouble building or installing chroma

Comments

@omkar-nath-reddy
Copy link

What happened?

I am not able to install Chroma db, and I have installed Visual Studio also still not able to figure out the issue

Versions

Python 3.13.1 , windows 10

Relevant log output

Building wheel for chroma-hnswlib (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'hnswlib' extension
      b'\\\x00W\x00i\x00n\x00d\x00o\x00w\x00s\x00 \x00w\x00a\x00s\x00 \x00u\x00n\x00e\x00x\x00p\x00e\x00c\x00t\x00e\x00d\x00 \x00a\x00t\x00 \x00t\x00h\x00i\x00s\x00 \x00t\x00i\x00m\x00e\x00.\x00\r\x00\n\x00'
      error: Error executing cmd /u /c "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 && set
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for chroma-hnswlib
Failed to build chroma-hnswlib
ERROR: Failed to build installable wheels for some pyproject.toml based projects (chroma-hnswlib)
@omkar-nath-reddy omkar-nath-reddy added the installation trouble trouble building or installing chroma label Feb 19, 2025
@tazarov
Copy link
Contributor

tazarov commented Feb 22, 2025

hey @omkar-nath-reddy, we do not have pre-built wheels for Win/py313. Does your project require python 3.13 or can you downgrade to python 3.11. This way you won't have to rebuild the HNSW lib. Another alternative is to install chromadb-client which does not have chroma-hnswlib as dependency and run Chroma as a server in a docker container.

If none of the above works for you you will have to modify your Visual Studio installation to add Linux and embedded development with C++ and Python development packages in order to compile HNSW lib locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation trouble trouble building or installing chroma
Projects
None yet
Development

No branches or pull requests

2 participants