ImportError: DLL load failed: 找不到指定的模块 您所在的位置:网站首页 abbyy安装时找不到指定模块 ImportError: DLL load failed: 找不到指定的模块

ImportError: DLL load failed: 找不到指定的模块

2024-06-12 08:41| 来源: 网络整理| 查看: 265

这个问题就是因为版本不匹配的原因造成的 版本检查解决method 1method 2

版本检查 anaconda检查对应的python 打开anaconda prompt输入python版本是3.7.4的tensorflow检查python是3.7.6说明tensorflow的版本相对于anaconda来说高了对我来说python3.7.4的anaconda需要tensorflow2.0.0 解决

因为版本的问题所以得重新下载tensorflow 所以就把原来的tensorflow给卸了

method 1

用镜像下载 然后参照其他博主的方法用清华镜像下载 在anaconda prompt里输入 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 然后再输入 conda config --set show_channel_urls yes 再conda create -n tensorflow python=3.7.4 结果出现condahttperror又失败 对此的解决办法是在c盘users DELL 中找到.condarc文件点开删除default一行 在这里插入图片描述

在这里插入图片描述 然后再输入

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes

成功之后再输入 conda create -n tensorflow python=3.7.4(注意后面的版本是根据自己的anaconda安装所需要的版本) 到这步有些人的就已经完全大功告成了 结果我还是失败了。。。

method 2

所以我就放弃了这种办法完全用官网直接下载whl文件 地址:https://pypi.org/project/tensorflow/2.0.0/#files 注意,地址中间的2.0.0只是我需要的tensorflow版本,这个可以根据大家的需要调整 选择windows选择win,注意系统,然后选择cp37(对应python 3.7.x) 在这里插入图片描述下载好了后 打开cmd输入cd x(whl的文件夹路径) 然后再输入pip install x(whl的名字) 在这里插入图片描述 然后就静静等待就ok啦。 这次是终于successful啦



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有