aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src
diff options
context:
space:
mode:
authorGravatar wim glenn <wim.glenn@gmail.com>2018-07-18 10:12:16 -0500
committerGravatar GitHub <noreply@github.com>2018-07-18 10:12:16 -0500
commitaa7960d9187131039b7122f66e60dd89dd5a90bb (patch)
tree3c248933513e24198d064db8e92b1ab749687887 /tensorflow/docs_src
parent9b3a29889f6533b2f3c8cba6eba9e2d653712750 (diff)
Recommend the user site, no sudo
Diffstat (limited to 'tensorflow/docs_src')
-rw-r--r--tensorflow/docs_src/install/install_linux.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/tensorflow/docs_src/install/install_linux.md b/tensorflow/docs_src/install/install_linux.md
index 7534d0fac1..0d9b6af093 100644
--- a/tensorflow/docs_src/install/install_linux.md
+++ b/tensorflow/docs_src/install/install_linux.md
@@ -65,7 +65,7 @@ We *recommend* using `pip` version 8.1 or higher. If using a release before
version 8.1, upgrade `pip`:
<pre class="prettyprint lang-bsh">
- <code class="devsite-terminal">sudo pip install -U pip</code>
+ <code class="devsite-terminal">pip install -U pip</code>
</pre>
If not using Ubuntu and [setuptools](https://pypi.org/project/setuptools/) is
@@ -198,7 +198,7 @@ We *recommend* using `pip` version 8.1 or higher. If using a release before
version 8.1, upgrade `pip`:
<pre class="prettyprint lang-bsh">
- <code class="devsite-terminal">sudo pip install -U pip</code>
+ <code class="devsite-terminal">pip install -U pip</code>
</pre>
If not using Ubuntu and [setuptools](https://pypi.org/project/setuptools/) is
@@ -220,8 +220,8 @@ Choose one of the available TensorFlow packages for installation:
And use `pip` to install the package for Python 2 or 3:
<pre class="prettyprint lang-bsh">
- <code class="devsite-terminal">sudo pip install -U tensorflow # Python 2.7</code>
- <code class="devsite-terminal">sudo pip3 install -U tensorflow # Python 3.n</code>
+ <code class="devsite-terminal">pip install -U --user tensorflow # Python 2.7</code>
+ <code class="devsite-terminal">pip3 install -U --user tensorflow # Python 3.n</code>
</pre>
Use `pip list` to show the packages installed on the system.
@@ -239,8 +239,8 @@ If the above steps failed, try installing the TensorFlow binary using the remote
URL of the `pip` package:
<pre class="prettyprint lang-bsh">
- <code class="devsite-terminal">sudo pip install --upgrade <var>remote-pkg-URL</var> # Python 2.7</code>
- <code class="devsite-terminal">sudo pip3 install --upgrade <var>remote-pkg-URL</var> # Python 3.n</code>
+ <code class="devsite-terminal">pip install --user --upgrade <var>remote-pkg-URL</var> # Python 2.7</code>
+ <code class="devsite-terminal">pip3 install --user --upgrade <var>remote-pkg-URL</var> # Python 3.n</code>
</pre>
The <var>remote-pkg-URL</var> depends on the operating system, Python version,
@@ -255,8 +255,8 @@ encounter problems.
To uninstall TensorFlow on your system, use one of following commands:
<pre class="prettyprint lang-bsh">
- <code class="devsite-terminal">sudo pip uninstall tensorflow # for Python 2.7</code>
- <code class="devsite-terminal">sudo pip3 uninstall tensorflow # for Python 3.n</code>
+ <code class="devsite-terminal">pip uninstall tensorflow # for Python 2.7</code>
+ <code class="devsite-terminal">pip3 uninstall tensorflow # for Python 3.n</code>
</pre>
<a name="InstallingDocker"></a>