jmanhype commited on
Commit
0b2adc1
Β·
1 Parent(s): 585cf0a

Pin NumPy to version 1.x for OpenCV compatibility

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -54,6 +54,9 @@ RUN conda create -n musev python=3.10 -y && \
54
  # Install setuptools first with a specific version
55
  RUN conda run -n musev pip install --no-cache-dir setuptools==65.5.1
56
 
 
 
 
57
  # Install core dependencies first
58
  RUN conda run -n musev pip install --no-cache-dir \
59
  torch \
 
54
  # Install setuptools first with a specific version
55
  RUN conda run -n musev pip install --no-cache-dir setuptools==65.5.1
56
 
57
+ # Install numpy 1.x first to ensure compatibility
58
+ RUN conda run -n musev pip install --no-cache-dir "numpy<2.0.0"
59
+
60
  # Install core dependencies first
61
  RUN conda run -n musev pip install --no-cache-dir \
62
  torch \