您当前的位置: 首页 >  tensorflow

川川菜鸟

暂无认证

  • 3浏览

    0关注

    969博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

安装tensorflow时候报错ImportError: DLL load failed: 找不到指定的模块。Failed to load the native TensorFlow runtime.

川川菜鸟 发布时间:2020-10-12 15:59:13 ,浏览量:3

问题:

安装tensorflow时候报错ImportError: DLL load failed: 找不到指定的模块。Failed to load the native TensorFlow runtime.

 

解决方法:降低tensorflow版本,版本太高。在terminal复制粘贴以下命令:

pip install tensorflow==2.0

这样就可以运行了,比如如下代码(这是我):

import tensorflow as tf  

s = tf.constant([[1, 2, 3], [4, 5, 6]])  
print("s : ", s)  
关注
打赏
1665165634
查看更多评论
立即登录/注册

微信扫码登录

0.1915s