简体   繁体   English

Tensorflow安装在Windows Machine中的Anaconda内部失败

[英]Tensorflow install failed inside Anaconda in Windows Machine

Well, I am so tired of trying to install Tensorflow in Anaconda , I have installed anaconda successfully, but when I am going to install form this link , Anaconda installation on Step 4, I am seeing some exception. 好吧,我对尝试在Anaconda安装Tensorflow感到非常厌倦,我已经成功安装了anaconda,但是当我要通过此链接 (第4步中的Anaconda安装)进行安装时,我看到了一些异常。 I have executed this line of command 我已经执行了这一行命令

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl

However it's terminating showing a red single line exception. 但是,它将终止显示红色的单行异常。 红线

Later I have searched for some solution on here and there. 后来我在这里和那里搜索了一些解决方案。 I have found some solution too. 我也找到了解决方案。 In this solution is done for only MAC OX and Linux only, not for Windows . 在此解决方案中,仅适用于MAC OXLinux ,不适用于Windows Later I found somewhere to use the python version 2.7 so I have downgraded the Python in lower version, however it was same. 后来我发现某个地方可以使用python版本2.7,因此我将Python降级到较低的版本,但是它是相同的。 But this time I can able to to execute the MAC OX command successfully and in my prompt it shows that install successful. 但是这次我可以成功执行MAC OX命令,并在提示符下显示安装成功。 But when I had gone to import Tensorflow then again an error is threading, like this 但是当我去导入Tensorflow再次出现线程错误,像这样 图片

I have also found the some other solutions link1 link2 , however none of them are done in which process I'm approaching. 我还找到了其他一些解决方案link1 link2 ,但是在我要处理的过程中都没有完成。 I am in a quiet confusion what kind of error or exception it is? 我在一个混乱的混乱中是什么错误或异常? And how do I overcome it? 我该如何克服呢?

Update: Tensorflow has been installed successfully from this link , Now a different problem is being facing. 更新:Tensorflow已通过此链接成功安装,现在面临另一个问题。 When I am going to import tensorflow in my workspace it providing this error. 当我将tensorflow导入我的工作区时,它会提供此错误。 在此处输入图片说明 在此处输入图片说明

It looks like it cannot find the required CUDA libraries. 似乎找不到所需的CUDA库。 Did you install the CUDA Toolkit 8.0 and cuDNN 5.1? 您是否安装了CUDA Toolkit 8.0和cuDNN 5.1?

You will have to install the CUDA Toolkit 8.0 eg from here and the cuDNN package from eg here and then put the cuDNN-installation-path/win10/bin on your path (depending on your windows version of course) 您必须安装CUDA工具包8.0例如,从这里 ,并从例如cuDNN包这里 ,然后把cuDNN-installation-path/win10/bin你的道路上(根据您的Windows,当然版)

Also the following two posts might help you out: 另外,以下两篇文章可能会对您有所帮助:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM