Skip to content

Commit 08dcead

Browse files
committed
Pinned a pip version to 25.2 in Dockerfile to ensure compatibility with dependencies.
1 parent e0c656e commit 08dcead

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN git clone https://github.com/colmap/colmap.git && \
8181

8282
# Upgrade pip and install dependencies.
8383
# pip install torch==2.2.2 torchvision==0.17.2 --index-url https://download.pytorch.org/whl/cu118 && \
84-
RUN pip install --no-cache-dir --upgrade pip 'setuptools<70.0.0' && \
84+
RUN pip install --no-cache-dir --upgrade pip==25.2 'setuptools<70.0.0' && \
8585
pip install --no-cache-dir torch==2.1.2+cu118 torchvision==0.16.2+cu118 'numpy<2.0.0' --extra-index-url https://download.pytorch.org/whl/cu118 && \
8686
git clone --branch master --recursive https://github.com/cvg/Hierarchical-Localization.git /opt/hloc && \
8787
cd /opt/hloc && git checkout v1.4 && python3.10 -m pip install --no-cache-dir . && cd ~ && \

0 commit comments

Comments
 (0)