Skip to content

Commit 4fb93dc

Browse files
committed
distutils
1 parent 663f127 commit 4fb93dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pytorch-version-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
version=$(python -c "import torch; print('.'.join(torch.__version__.split('.')[:2]))")
7676
if [[ "$version" == "1.9" || "$version" == "1.10" ]]; then
7777
pip install "setuptools<59"
78-
python -c "from setuptools import distutils; distutils.version.LooseVersion"
78+
pip install "setuptools<59" "distutils==0.3"
7979
fi
8080
8181
- name: Download MNIST

0 commit comments

Comments
 (0)