启动 anaconda3
source activate tensorflow
出来 (tensorflow) 192:~ fengbin$
输入python
出来>>>
输入 下面 能打印出"b'hello,tensorf'" 则表示成功.
import tensorflow as tf
hello = tf.constant('hello,tensorf')
sess = tf.Session()
print(sess.run(hello))
启动 anaconda3
source activate tensorflow
出来 (tensorflow) 192:~ fengbin$
输入python
出来>>>
输入 下面 能打印出"b'hello,tensorf'" 则表示成功.
import tensorflow as tf
hello = tf.constant('hello,tensorf')
sess = tf.Session()
print(sess.run(hello))