From 2cbcda08f43a576042fde983aaf9781f6874a324 Mon Sep 17 00:00:00 2001 From: Androbin Date: Wed, 7 Jun 2017 01:57:52 +0200 Subject: [PATCH] Fixed formatting in Linux install guide (#10353) Formatting issues were introduced in PR #8825, commit f30918b3694afe844990cbddc82e27e023d88856 --- tensorflow/docs_src/install/install_linux.md | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tensorflow/docs_src/install/install_linux.md b/tensorflow/docs_src/install/install_linux.md index c7c3446623b..1efdf385f61 100644 --- a/tensorflow/docs_src/install/install_linux.md +++ b/tensorflow/docs_src/install/install_linux.md @@ -116,12 +116,12 @@ Take the following steps to install TensorFlow with Virtualenv: 1. Install pip and virtualenv by issuing one of the following commands:
$ sudo apt-get install python-pip python-dev python-virtualenv # for Python 2.7
-    $ sudo apt-get install python3-pip python3-dev python-virtualenv # for Python 3.n
+ $ sudo apt-get install python3-pip python3-dev python-virtualenv # for Python 3.n 2. Create a virtualenv environment by issuing one of the following commands:
$ virtualenv --system-site-packages targetDirectory # for Python 2.7
-    $ virtualenv --system-site-packages -p python3 targetDirectory # for Python 3.n
+ $ virtualenv --system-site-packages -p python3 targetDirectory # for Python 3.n where targetDirectory specifies the top of the virtualenv tree. Our instructions assume that @@ -131,22 +131,22 @@ Take the following steps to install TensorFlow with Virtualenv: 3. Activate the virtualenv environment by issuing one of the following commands: -
 $ source ~/tensorflow/bin/activate # bash, sh, ksh, or zsh
+     
$ source ~/tensorflow/bin/activate # bash, sh, ksh, or zsh
      $ source ~/tensorflow/bin/activate.csh  # csh or tcsh
The preceding source command should change your prompt to the following: -
 (tensorflow)$ 
+
(tensorflow)$ 
4. Ensure pip ≥8.1 is installed: -
 (tensorflow)$ easy_install -U pip
+
(tensorflow)$ easy_install -U pip
5. Issue one of the following commands to install TensorFlow in the active virtualenv environment: -
 (tensorflow)$ pip install --upgrade tensorflow      # for Python 2.7
+     
(tensorflow)$ pip install --upgrade tensorflow      # for Python 2.7
      (tensorflow)$ pip3 install --upgrade tensorflow     # for Python 3.n
      (tensorflow)$ pip install --upgrade tensorflow-gpu  # for Python 2.7 and GPU
      (tensorflow)$ pip3 install --upgrade tensorflow-gpu # for Python 3.n and GPU
@@ -158,7 +158,7 @@ Take the following steps to install TensorFlow with Virtualenv: lower than 8.1), install TensorFlow in the active virtualenv environment by issuing a command of the following format: -
 (tensorflow)$ pip install --upgrade tfBinaryURL   # Python 2.7
+     
(tensorflow)$ pip install --upgrade tfBinaryURL   # Python 2.7
      (tensorflow)$ pip3 install --upgrade tfBinaryURL  # Python 3.n 
where tfBinaryURL identifies the URL of the @@ -252,7 +252,7 @@ take the following steps: 1. Install TensorFlow by invoking **one** of the following commands: -
 $ pip install tensorflow      # Python 2.7; CPU support (no GPU support)
+     
$ pip install tensorflow      # Python 2.7; CPU support (no GPU support)
      $ pip3 install tensorflow     # Python 3.n; CPU support (no GPU support)
      $ pip install tensorflow-gpu  # Python 2.7;  GPU support
      $ pip3 install tensorflow-gpu # Python 3.n; GPU support 
@@ -263,7 +263,7 @@ take the following steps: 2. (Optional.) If Step 1 failed, install the latest version of TensorFlow by issuing a command of the following format: -
 $ sudo pip  install --upgrade tfBinaryURL   # Python 2.7
+     
$ sudo pip  install --upgrade tfBinaryURL   # Python 2.7
      $ sudo pip3 install --upgrade tfBinaryURL   # Python 3.n 
where tfBinaryURL identifies the URL of the @@ -449,13 +449,13 @@ Take the following steps to install TensorFlow in an Anaconda environment: 3. Activate the conda environment by issuing the following command: -
 $ source activate tensorflow
+     
$ source activate tensorflow
      (tensorflow)$  # Your prompt should change 
4. Issue a command of the following format to install TensorFlow inside your conda environment: -
 (tensorflow)$ pip install --ignore-installed --upgrade tfBinaryURL
+
(tensorflow)$ pip install --ignore-installed --upgrade tfBinaryURL
where tfBinaryURL is the [URL of the TensorFlow Python package](#the_url_of_the_tensorflow_python_package).