Skip to content

Commit 113b667

Browse files
committed
TensorFlow: Upstreaming changes to git.
Changes: - Update to OS X install instructions. Base CL: 107355822
1 parent 430a054 commit 113b667

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

tensorflow/g3doc/get_started/os_setup.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ $ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5
2626

2727
### Mac OS X <a class="md-anchor" id="AUTOGENERATED-mac-os-x"></a>
2828

29+
On OS X, we recommend installing [homebrew](http://brew.sh) and `brew install
30+
python` before proceeding, or installing TensorFlow within [virtualenv](#virtualenv_install).
31+
2932
```bash
3033
# Only CPU-version is available at the moment.
3134
$ pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
@@ -363,12 +366,15 @@ If you encounter:
363366
ImportError: No module named copyreg
364367
```
365368

366-
Solution: TensorFlow depends on protobuf which require six-1.10.0. The
367-
installation on some machines may only have an earlier version of six that was
368-
installed using distutils. Unfortunately, upgrading a distutils installed
369-
project via `pip` is deprecated and may fail. If you having difficulty
370-
upgrading six, we recommend playing around with tensorflow using virtualenv.
369+
Solution: TensorFlow depends on protobuf which require six-1.10.0. Apple's
370+
default python environment has six-1.4.1 and may be difficult to upgrade.
371+
So we recommend either installing a separate of python via homebrew:
372+
373+
```bash
374+
brew install python
375+
```
371376

377+
or building / using TensorFlow within `virtualenv` as described above.
372378

373379

374380

0 commit comments

Comments
 (0)