From 58930d85aa630b26915d375590c63fb09009e439 Mon Sep 17 00:00:00 2001 From: ml server Date: Mon, 20 Jan 2020 13:47:39 -0700 Subject: [PATCH] tensorflow pip --- README-distributed.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README-distributed.md b/README-distributed.md index 07c1f8e..298b6d5 100644 --- a/README-distributed.md +++ b/README-distributed.md @@ -49,6 +49,24 @@ pip3 install --user simplejson pip3 install --user pillow ``` +Another way, using upstream tensorflow packages. +You also have to install the latest `pip` from `pip`, +or you'll get `tensorflow 1.x`. +``` +pip3 install pip +pip3 install --upgrade pip +# make sure new `pip3` at `~/.local/bin/pip3` is in front in `$PATH`. +# install tensorflow +pip3 install --user tensorflow +# If that fails due to the PATH, run like: +~/.local/bin/pip3 install --user tensorflow +pip3 list | grep tensorflow +# for running some tensorflow tests: +pip3 install --user portpicker +# There's a bunch of tests that can be run, such as: +python3 ~/devel/tensorflow/tensorflow/tensorflow/python/distribute/multi_worker_continuous_run_test.py +``` + # Usage `top`