ammar101 commited on
Commit
0323525
·
1 Parent(s): 87c0c0b

Fix: Pin numpy<2.0 to solve C++ compiler conflicts, remove pyrender legacy version lock

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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==0.1.45
3
  opencv-python
4
  yacs
5
  scikit-image
 
1
  pytorch-lightning
2
+ pyrender
3
  opencv-python
4
  yacs
5
  scikit-image