mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-21 20:00:17 +08:00
Include libcairo2-dev
This commit is contained in:
parent
fefcfaa2e4
commit
232ec2a06a
@ -24,11 +24,11 @@ RUN echo "onnxruntime-gpu==1.22.0" >> /workspace/overrides.txt; pip freeze | gre
|
|||||||
# mitigates AttributeError: module 'cv2.dnn' has no attribute 'DictValue' \
|
# mitigates AttributeError: module 'cv2.dnn' has no attribute 'DictValue' \
|
||||||
# see https://github.com/facebookresearch/nougat/issues/40
|
# see https://github.com/facebookresearch/nougat/issues/40
|
||||||
RUN pip install uv && uv --version && \
|
RUN pip install uv && uv --version && \
|
||||||
apt-get update && apt-get install --no-install-recommends ffmpeg libsm6 libxext6 -y && \
|
apt-get update && apt-get install --no-install-recommends ffmpeg libsm6 libxext6 libcairo2-dev -y && \
|
||||||
uv pip uninstall --system $(pip list --format=freeze | grep opencv) && \
|
uv pip uninstall --system $(pip list --format=freeze | grep opencv) && \
|
||||||
rm -rf /usr/local/lib/python3.12/dist-packages/cv2/ && \
|
rm -rf /usr/local/lib/python3.12/dist-packages/cv2/ && \
|
||||||
uv pip install wheel && \
|
uv pip install wheel && \
|
||||||
uv pip install --no-build-isolation "opencv-contrib-python-headless!=4.11.0.86" && \
|
uv pip install --no-build-isolation "opencv-contrib-python-headless>=4.12.0.88" && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# install sageattention
|
# install sageattention
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user