Tensorflow install failed inside Anaconda in Windows Machine

故事扮演 提交于 2019-12-12 03:48:47

问题


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. 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. Later I found somewhere to use the python version 2.7 so I have downgraded the Python in lower version, however it was same. But this time I can able to to execute the MAC OX command successfully and in my prompt it shows that install successful. But when I had gone to import Tensorflow then again an error is threading, like this

I have also found the some other solutions link1 link2, however none of them are done in which process I'm approaching. 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. When I am going to import tensorflow in my workspace it providing this error.


回答1:


It looks like it cannot find the required CUDA libraries. Did you install the CUDA Toolkit 8.0 and cuDNN 5.1?

You will have to install the CUDA Toolkit 8.0 e.g. from here and the cuDNN package from e.g. here and then put the cuDNN-installation-path/win10/bin on your path (depending on your windows version of course)

Also the following two posts might help you out:

  • On Windows, running "import tensorflow" generates No module named "_pywrap_tensorflow" error
  • TensorFlow on Windows: "Couldn't open CUDA library cudnn64_5.dll"


来源:https://stackoverflow.com/questions/42553860/tensorflow-install-failed-inside-anaconda-in-windows-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!