Tensorflow 2.0 DLL load failed: 找不到指定的模块
Posted mstk
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tensorflow 2.0 DLL load failed: 找不到指定的模块相关的知识,希望对你有一定的参考价值。
安装Tensorflow 2.0以后,运行
import tensorflow as tf
出现下面的错误:
原因及解决的办法:以前是用pip install tensorflow-gpu安装的,没有指定版本,删除以前安装的版本,指定版本为2.0.0-alpha0安装:
pip install tensorflow-gpu==2.0.0-alpha0 -i https://pypi.tuna.tsinghua.edu.cn/simple --default-timeout=10000
以上是关于Tensorflow 2.0 DLL load failed: 找不到指定的模块的主要内容,如果未能解决你的问题,请参考以下文章