らんだむな記憶

blogというものを体験してみようか!的なー

てんそるふろぉ

TensorFlowインストール - らんだむな記憶から半年以上経ってるやんけ!?という状態であるので、仕切り直し。
ついでなのでanacondaも入れる。Download Anaconda now! | Continuumなんてでかいシェルスクリプトだ...。

$ bash Anaconda3-4.0.0-MacOSX-x86_64.sh

$ conda create -n tensorflow python=3.5

する。

$ source activate tensorflow
(tensorflow)xxx@yyy:~$ 

のような状態になるので、

$ source activate tensorflow
(tensorflow)xxx@yyy:~$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0rc0-cp35-cp35m-linux_x86_64.whl
(tensorflow)xxx@yyy:~$ pip install --upgrade $TF_BINARY_URL

で入る。

(tensorflow)xxx@yyy:~$ python
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:16:01) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>>

いけたのだと思う。