LoginSignup
10
11

More than 5 years have passed since last update.

anaconda + python3.5環境でtensorflowをinstall

Posted at

install

cd ~/anaconda/bin
sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp35-none-any.whl


check


import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

>>> Hello, TensorFlow!
a = tf.constant(10)
b = tf.constant(32)

print(sess.run(a + b))
>>> 42

10
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
11