From 832bb6a745975c8327da396a48303f407649337c Mon Sep 17 00:00:00 2001 From: liaogang Date: Tue, 17 Jan 2017 17:57:38 +0800 Subject: [PATCH] Update docs --- doc/getstarted/build_and_install/build_from_source_en.md | 4 ++-- paddle/scripts/docker/Dockerfile | 6 +++--- paddle/scripts/docker/Dockerfile.gpu | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/getstarted/build_and_install/build_from_source_en.md b/doc/getstarted/build_and_install/build_from_source_en.md index 7d963a5a6d..6cd2183f48 100644 --- a/doc/getstarted/build_and_install/build_from_source_en.md +++ b/doc/getstarted/build_and_install/build_from_source_en.md @@ -101,8 +101,8 @@ As a simple example, consider the following: ```bash # necessary sudo apt-get update - sudo apt-get install -y g++ make cmake build-essential python python-pip libpython-dev git - sudo pip install wheel numpy + sudo apt-get install -y g++ make cmake build-essential python python-pip python-numpy libpython-dev git + sudo pip install wheel sudo pip install 'protobuf>=3.0.0' ``` diff --git a/paddle/scripts/docker/Dockerfile b/paddle/scripts/docker/Dockerfile index 01261d7a2d..28d7696c8c 100644 --- a/paddle/scripts/docker/Dockerfile +++ b/paddle/scripts/docker/Dockerfile @@ -9,13 +9,13 @@ RUN apt-get update && \ apt-get install -y git python-pip python-dev openssh-server && \ apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \ apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \ - apt-get install -y python-matplotlib g++ && \ + apt-get install -y python-numpy python-matplotlib g++ && \ apt-get clean -y RUN pip install --upgrade pip && \ pip install 'protobuf==3.1.0.post1' && \ - pip install -U numpy wheel pillow && \ - pip install -U BeautifulSoup docopt PyYAML sphinx && \ + pip install -U wheel pillow BeautifulSoup && \ + pip install -U docopt PyYAML sphinx && \ pip install -U sphinx_rtd_theme recommonmark jupyter RUN curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \ diff --git a/paddle/scripts/docker/Dockerfile.gpu b/paddle/scripts/docker/Dockerfile.gpu index 108cfd9c9e..b1344f275b 100644 --- a/paddle/scripts/docker/Dockerfile.gpu +++ b/paddle/scripts/docker/Dockerfile.gpu @@ -9,13 +9,13 @@ RUN apt-get update && \ apt-get install -y git python-pip python-dev openssh-server && \ apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \ apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \ - apt-get install -y python-matplotlib g++ && \ + apt-get install -y python-numpy python-matplotlib g++ && \ apt-get clean -y RUN pip install --upgrade pip && \ pip install 'protobuf==3.1.0.post1' && \ - pip install -U numpy wheel pillow && \ - pip install -U BeautifulSoup docopt PyYAML sphinx && \ + pip install -U wheel pillow BeautifulSoup && \ + pip install -U docopt PyYAML sphinx && \ pip install -U sphinx_rtd_theme recommonmark jupyter RUN curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \ -- GitLab