Spaces:
Paused
Paused
Fix: Pin numpy<2.0 to solve C++ compiler conflicts, remove pyrender legacy version lock
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
|
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
build-essential \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
-
RUN pip install --upgrade pip setuptools wheel cython numpy
|
| 16 |
|
| 17 |
WORKDIR /app
|
| 18 |
|
|
|
|
| 12 |
build-essential \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
+
RUN pip install --upgrade pip setuptools wheel cython "numpy<2.0.0"
|
| 16 |
|
| 17 |
WORKDIR /app
|
| 18 |
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
pytorch-lightning
|
| 2 |
-
pyrender
|
| 3 |
opencv-python
|
| 4 |
yacs
|
| 5 |
scikit-image
|
|
|
|
| 1 |
pytorch-lightning
|
| 2 |
+
pyrender
|
| 3 |
opencv-python
|
| 4 |
yacs
|
| 5 |
scikit-image
|