conda install tensorflow
UnavailableInvalidChannel: The channel is not accessible or is invalid.
错误conda config --remove-key channels
恢复默认源conda install tensorflow
按提示操作即可cmd
,输入python
,再依次输入以下语句,没有报错则安装成功import tensorflow as tf
sess = tf.Session()
a = tf.constant(1)
b = tf.constant(2)
print(sess.run(a+b))
本文地址:https://blog.csdn.net/weixin_43598956/article/details/107423935
如对本文有疑问, 点击进行留言回复!!
听课笔记--Python数据分析--Numpy基础及基本应用
Python-定时任务APScheduler中两种调度器的区别
网友评论