Skip to content

Commit 5f299ee

Browse files
FloWuenneclaude
andcommitted
🐛 fix(cellprofiler): upgrade pip to find wxPython pre-built wheels
The system pip in Ubuntu 22.04 is too old to find manylinux_2_28 wheels for wxPython. Upgrading pip/setuptools/wheel ensures pre-built wheels are used instead of building from source. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 13d4277 commit 5f299ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

kasmVNC/cellprofiler/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4343
ENV JAVA_HOME=/usr/lib/jvm/default-java
4444

4545
# Install CellProfiler with compatible dependencies
46+
# Upgrade pip first to ensure it finds pre-built wheels (e.g., wxPython)
4647
# Pin numpy<2 to avoid scikit-learn build issues with numpy 2.x
47-
RUN pip3 install --no-cache-dir "numpy<2" scikit-learn && \
48+
RUN pip3 install --no-cache-dir --upgrade pip setuptools wheel && \
49+
pip3 install --no-cache-dir "numpy<2" scikit-learn && \
4850
pip3 install --no-cache-dir cellprofiler
4951

5052
# Single-app mode: application launches directly, no desktop

0 commit comments

Comments
 (0)