Skip to content

Commit

Permalink
Install numpy from source for Python 3.5 to fix the nightly build.
Browse files Browse the repository at this point in the history
Change: 147395987
  • Loading branch information
Jonathan Hseu authored and tensorflower-gardener committed Feb 14, 2017
1 parent f869fb0 commit 1cb144a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ pip3.5 install --upgrade protobuf==3.0.0
rm -rf /usr/lib/python3/dist-packages/six*

# Install numpy, scipy and scikit-learn required by the builds
pip3.5 install --upgrade numpy

# numpy needs to be installed from source to fix segfaults. See:
# https://github.com/tensorflow/tensorflow/issues/6968
# This workaround isn't needed for Ubuntu 16.04 or later.
pip3.5 install --no-binary=:all: --upgrade numpy

set +e
SCIPY_VERSION="0.17.1"
Expand Down

0 comments on commit 1cb144a

Please sign in to comment.