chroma
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
running
git clone [email protected]:chroma-core/chroma.git
cd chroma
docker-compose up -d --build
and getting this
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
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
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
- running docker via colima
Having the same issue on M1 Mac
Same issue, mac M1 too
With the launch of Chroma 0.4
- duckdb is no longer a dependency and this should be fixed!