chroma icon indicating copy to clipboard operation
chroma copied to clipboard

unable to run Chroma out of the box - duckdb error "python setup.py bdist_wheel did not run successfully." when running docker

Open swyxio opened this issue 1 year ago • 3 comments

running

git clone [email protected]:chroma-core/chroma.git
cd chroma
docker-compose up -d --build

and getting this

image

system

  System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 143.59 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh

swyxio avatar Mar 06 '23 20:03 swyxio

googling the error finds this duckdb issue: https://github.com/duckdb/duckdb/issues/3779 but its not very clear what i should be doing to solve it

swyxio avatar Mar 06 '23 20:03 swyxio

Facing a similar/same issue, building the docker container fails because of the duckdb dependency.

#0 96.80       error: command '/usr/bin/gcc' failed with exit code 1
#0 96.80       [end of output]
#0 96.80   
#0 96.80   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 96.80 error: legacy-install-failure
#0 96.80 
#0 96.80 × Encountered error while trying to install package.
#0 96.80 ╰─> duckdb
#0 96.80 
#0 96.80 note: This is an issue with the package mentioned above, not pip.
#0 96.80 hint: See above for output from the failure.
#0 97.02 
#0 97.02 [notice] A new release of pip available: 22.3.1 -> 23.0.1
#0 97.02 [notice] To update, run: pip install --upgrade pip
------
failed to solve: executor failed running [/bin/sh -c pip install --no-cache-dir --upgrade -r requirements.txt]: exit code: 1

I tried to change the dep from the 0.5.1 to 0.7.1 (latest version as of writing this). But this doesn't solve the issue, no exception is thrown in context of the installation, but after some minutes gcc (duckdb is written in c++) can't write logs anymore due to a log file size limit.

System

  • macOS 13.2.1 (22D68)
  • M1 chip

Notes

devidw avatar Mar 26 '23 12:03 devidw

Having the same issue on M1 Mac

saviorand avatar Apr 30 '23 11:04 saviorand

Same issue, mac M1 too

alerad avatar Jun 10 '23 02:06 alerad

With the launch of Chroma 0.4 - duckdb is no longer a dependency and this should be fixed!

jeffchuber avatar Jul 27 '23 18:07 jeffchuber