在Windows上的TensorFlow:在安装Anaconda 3时出现错误。

时间:2022-04-13 18:16:24

Now TensorFlow is finally released on Windows, I have been trying to install it for the last 2 days, still no success. Need some help please.

现在TensorFlow终于在Windows上发布了,我已经试着安装两天了,还是没有成功。请需要一些帮助。

After installing Anaconda 3, I followed the instructions here. But was not able to proceed further beyond activating the environment...

在安装了Anaconda 3之后,我遵循了这里的说明。但是,除了激活环境之外,我们无法再进一步……

1 个解决方案

#1


7  

Just sorted things out...what a journey!! The solution is below:

只是整理东西…什么旅行! !下面的解决方案是:

So basically, we need to follow the process here. Also, you may get an error message like this:

所以基本上,我们需要遵循这个过程。此外,您可能会收到这样的错误消息:

Cannot remove entries from nonexistent file c:\users\george.liu\appdata\local\co
ntinuum\anaconda3\lib\site-packages\easy-install.pth

So, you just need to do this instead in Anaconda Prompt:

所以,你只需要在Anaconda提示符中这样做:

pip install --upgrade --ignore-installed https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl

This is due to a known bug as explained here.

这是由于一个已知的bug造成的。

Then you're all set. Enjoy!!

那你们都准备好了。

#1


7  

Just sorted things out...what a journey!! The solution is below:

只是整理东西…什么旅行! !下面的解决方案是:

So basically, we need to follow the process here. Also, you may get an error message like this:

所以基本上,我们需要遵循这个过程。此外,您可能会收到这样的错误消息:

Cannot remove entries from nonexistent file c:\users\george.liu\appdata\local\co
ntinuum\anaconda3\lib\site-packages\easy-install.pth

So, you just need to do this instead in Anaconda Prompt:

所以,你只需要在Anaconda提示符中这样做:

pip install --upgrade --ignore-installed https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl

This is due to a known bug as explained here.

这是由于一个已知的bug造成的。

Then you're all set. Enjoy!!

那你们都准备好了。