File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tensorflow/tools/ci_build/install Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,17 @@ set -e
9393pip3.5 install --upgrade six==1.10.0
9494
9595# Install protobuf.
96- pip3.5 install --upgrade protobuf==3.0 .0
96+ pip3.5 install --upgrade protobuf==3.1 .0
9797
9898# Remove obsolete version of six, which can sometimes confuse virtualenv.
9999rm -rf /usr/lib/python3/dist-packages/six*
100100
101101# Install numpy, scipy and scikit-learn required by the builds
102- pip3.5 install --upgrade numpy
102+
103+ # numpy needs to be installed from source to fix segfaults. See:
104+ # https://github.com/tensorflow/tensorflow/issues/6968
105+ # This workaround isn't needed for Ubuntu 16.04 or later.
106+ pip3.5 install --no-binary=:all: --upgrade numpy
103107
104108set +e
105109SCIPY_VERSION=" 0.17.1"
You can’t perform that action at this time.
0 commit comments