简体   繁体   English

在 Windows 上安装 TensorFlow 1.15

[英]Install TensorFlow 1.15 on Windows

I'm trying to install tensorflow 1.15 in Windows 10. I tried to use python 3.6.4 and 3.7.8 both with CUDA 10.0 and cuDNN 7.4. I'm trying to install tensorflow 1.15 in Windows 10. I tried to use python 3.6.4 and 3.7.8 both with CUDA 10.0 and cuDNN 7.4.

I am using a pip version 21.0.1 although it is from another version of python (maybe it is an issue?)我使用的是 pip 版本 21.0.1,尽管它来自另一个版本的 python(也许这是一个问题?)

pip 21.0.1 from C:\Users\rodri\AppData\Roaming\Python\Python39\site-packages\pip (python 3.9)

I tried some commands like: pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.15.0-cp37-cp37m-win_amd64.whl我尝试了一些命令,例如: pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.15.0-cp37-cp37m-win_amd64.whl

but I'm not sure what's the link from 1.15 TensorFlow for Windows (preferably with GPU support).但我不确定 Windows 的 1.15 TensorFlow 的链接是什么(最好支持 GPU)。

In that case I received a message: ERROR: tensorflow-1.15.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.在这种情况下,我收到一条消息: ERROR: tensorflow-1.15.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

Would anyone help me?有人会帮助我吗?

Looks like you are using Python 3.9看起来您正在使用 Python 3.9

pip 21.0.1 from C:\Users\rodri\AppData\Roaming\Python\Python39\site-packages\pip (python 3.9) . pip 21.0.1 from C:\Users\rodri\AppData\Roaming\Python\Python39\site-packages\pip (python 3.9) Tensorflow support for Python 3.9 is still ongoing. Tensorflow 对 Python 3.9 的支持仍在进行中。 Please take look at this issue .请看看这个问题

If in case you are using lesser version of Python (3.7, 3.8), make sure path is correct while installing Tensorflow.如果您使用的是较低版本的 Python(3.7、3.8),请在安装 Tensorflow 时确保路径正确。 Thanks!谢谢!

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

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