Use pip to install scipy to get the latest version

Change: 120373846
This commit is contained in:
A. Unique TensorFlower 2016-04-20 13:06:22 -08:00 committed by TensorFlower Gardener
parent d5a9b241c8
commit 071f742f20
2 changed files with 11 additions and 2 deletions

View File

@ -18,6 +18,8 @@ set -e
# Install dependencies from ubuntu deb repository. # Install dependencies from ubuntu deb repository.
apt-get update apt-get update
# gfortran, atlas, blas and lapack required by scipy pip install
apt-get install -y \ apt-get install -y \
autoconf \ autoconf \
automake \ automake \
@ -27,6 +29,10 @@ apt-get install -y \
curl \ curl \
ffmpeg \ ffmpeg \
git \ git \
gfortran \
libatlas-base-dev \
libblas-dev \
liblapack-dev \
libtool \ libtool \
openjdk-8-jdk \ openjdk-8-jdk \
openjdk-8-jre-headless \ openjdk-8-jre-headless \
@ -34,12 +40,10 @@ apt-get install -y \
python-dev \ python-dev \
python-numpy \ python-numpy \
python-pip \ python-pip \
python-scipy \
python-virtualenv \ python-virtualenv \
python3-dev \ python3-dev \
python3-numpy \ python3-numpy \
python3-pip \ python3-pip \
python3-scipy \
sudo \ sudo \
swig \ swig \
unzip \ unzip \

View File

@ -16,6 +16,11 @@
set -e set -e
# Use pip to install scipy to get the latest version, instead of 0.13 through
# apt-get
pip install scipy==0.15.1
pip3 install scipy==0.15.1
pip install sklearn pip install sklearn
pip3 install scikit-learn pip3 install scikit-learn