导入tensorflow时DLL load failed: 找不到指定的模块

简单暴力:卸载 重装

方法一:

先删除:
pip uninstall tensorflow

再下载:
pip install tensorflow

方法二:

  也有可能是numpy版本不匹配的问题:

  卸载:

  pip uninstall numpy

  安装:

  pip install numpy

  也可直接更新一下numpy:pip install --upgrade numpy

在jupyter中导入tensorflow失败时,注意查看此环境中是否时prompt中操作时的环境。

猜你喜欢

转载自www.cnblogs.com/fightKun/p/10658295.html