File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5959 add-apt-repository ppa:deadsnakes/ppa && \
6060 apt-get install -y \
6161 python${PYTHON_VERSION} \
62- python3-setuptools \
6362 python${PYTHON_VERSION}-dev \
6463 && \
6564 update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
7978 curl https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} && \
8079 # Disable cache \
8180 pip config set global.cache-dir false && \
81+ # Install recent setuptools to obtain pkg_resources \
82+ pip install setuptools==75.6.0 && \
8283 # set particular PyTorch version \
8384 pip install -q wget packaging && \
8485 python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py && \
You can’t perform that action at this time.
0 commit comments