Commit b709985 1 parent 9983f3a commit b709985 Copy full SHA for b709985
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 59
59
add-apt-repository ppa:deadsnakes/ppa && \
60
60
apt-get install -y \
61
61
python${PYTHON_VERSION} \
62
- python3-setuptools \
63
62
python${PYTHON_VERSION}-dev \
64
63
&& \
65
64
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
79
78
curl https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} && \
80
79
# Disable cache \
81
80
pip config set global.cache-dir false && \
81
+ # Install recent setuptools to obtain pkg_resources \
82
+ pip install setuptools==75.6.0 && \
82
83
# set particular PyTorch version \
83
84
pip install -q wget packaging && \
84
85
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