File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
tensorflow/tools/ci_build/install Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 21
21
easy_install -U pip==9.0.3
22
22
easy_install3 -U pip==9.0.3
23
23
24
- pip2 install --upgrade setuptools==39.1.0
25
- pip3 install --upgrade setuptools==39.1.0
26
-
27
24
# Install pip packages from whl files to avoid the time-consuming process of
28
25
# building from source.
29
26
@@ -57,6 +54,10 @@ pip3 install --upgrade markdown==2.6.8
57
54
pip2 install --upgrade protobuf==3.3.0
58
55
pip3 install --upgrade protobuf==3.3.0
59
56
57
+ # Install last working version of setuptools.
58
+ pip2 install --upgrade setuptools==39.1.0
59
+ pip3 install --upgrade setuptools==39.1.0
60
+
60
61
# Remove obsolete version of six, which can sometimes confuse virtualenv.
61
62
rm -rf /usr/lib/python3/dist-packages/six*
62
63
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ if [[ -z $pip35_version ]]; then
39
39
fi
40
40
41
41
set -e
42
- pip3.5 install --upgrade setuptools==39.1.0
43
42
pip3.5 install --upgrade pip
44
43
45
44
pip3.5 install --upgrade virtualenv
@@ -51,6 +50,9 @@ pip3.5 install --upgrade six==1.10.0
51
50
# Install protobuf.
52
51
pip3.5 install --upgrade protobuf==3.3.0
53
52
53
+ # Install last working version of setuptools.
54
+ pip3.5 install --upgrade setuptools==39.1.0
55
+
54
56
# Remove obsolete version of six, which can sometimes confuse virtualenv.
55
57
rm -rf /usr/lib/python3/dist-packages/six*
56
58
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ cd Python-3.6.1
49
49
make altinstall
50
50
ln -s /usr/local/bin/pip3.6 /usr/local/bin/pip3
51
51
52
- pip3 install --upgrade setuptools==39.1.0
53
52
pip3 install --upgrade pip
54
53
55
54
pip3 install --upgrade virtualenv
@@ -63,6 +62,9 @@ pip3 install --upgrade six==1.10.0
63
62
# Install protobuf.
64
63
pip3 install --upgrade protobuf==3.3.0
65
64
65
+ # Install last working version of setuptools.
66
+ pip3 install --upgrade setuptools==39.1.0
67
+
66
68
# Remove obsolete version of six, which can sometimes confuse virtualenv.
67
69
rm -rf /usr/lib/python3/dist-packages/six*
68
70
You can’t perform that action at this time.
0 commit comments