-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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]: Cannot install on Python 3.12 because of missing wheels for chroma-hnswlib #2059
Comments
I've encountered numerous challenges with version 3.12 across various platforms like torch, tensorflow, etc.
|
I made different experience, chroma is the only blocker in my project. All other projects work with 3.12. I personally really like the wheels, makes installation much simpler (especially on Windows) and I try to not use native code that does not keep up with new python versions within at least a year |
Possible solutions:
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 AS base
ENV DEBIAN_FRONTEND=noninteractive
ARG ROOT_PASSWORD
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get install -y \
ffmpeg \
git \
curl \
gpg \
wget \
nano \
build-essential \
libssl-dev \
pkg-config \
python3.11 \
python3.11-venv \
python3.11-distutils \
python3.11-dev \
libgl1-mesa-glx \
libglib2.0-0 \
uvicorn \
redis-server \
redis \
dos2unix \
screen \
sudo \
openssh-server \
libhdf5-dev \
&& rm -rf /var/lib/apt/lists/* && \
python3.11 -m ensurepip && \
mkdir /var/run/sshd && \
echo "root:${ROOT_PASSWORD}" | chpasswd && \
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
RUN curl -sL "https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64" --output /tmp/vscode-cli.tar.gz && \
tar -xf /tmp/vscode-cli.tar.gz -C /tmp && \
mv /tmp/code /usr/local/bin/code && \
rm -rf /tmp/vscode-cli.tar.gz /tmp/VSCode-linux-x64
# Start the code tunnel
WORKDIR /workspace
ENV VSCODE_AGENT_FOLDER=/workspace/.vscode
ENV VSCODE_CLI_DATA_DIR=/workspace/.vscode
CMD ["/bin/bash", "-c", "code tunnel user login --provider github && code tunnel --accept-server-license-terms --disable-telemetry --name devtnl"]
|
So if I understand you correctly, I cannot expect wheels for Python 3.12 anytime soon and there are no plans to add those wheels? |
What happened?
When trying to install chroma on python 3.12, it has to build chroma-hnswlib , since this one does not have Python 3.12 wheels. This is a blocker in my restricted environment where I cannot just install build dependencies
Versions
Chroma 0.5.0
Python 3.12
OS is some Linux, managed by Azure Websites
Relevant log output
No response
The text was updated successfully, but these errors were encountered: