分享

导入tensorflow显示importerror dll load failed:找不到指定模块。failed to load the native tensorflow runtime

 顺拐的皮皮瞎 2021-10-15
(已放弃用tensorflow)

配置:
window10
python3.7
cuda9.2(官网)
cudnn7.6.4(官网)

tensorflow安装

conda install tensorflow-gpu
pip install tensorflow
这两种方式都进行尝试,并显示安装成功,在终端输入import tensorflow:
在这里插入图片描述
然后我就打算重新安装tensorflow,使用pip uninstall tensorflow-gpu==2.2.0卸载掉tensorflow-gpu,然后使用conda list查看发现竟然还有tensorflow-gpu存在,并且其他的依赖也没有少,这时重新import tensorflow,发现错误解决了。。。
在这里插入图片描述

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多