如何在Python3.7上安装TensorFlow

2024-05-26 07:45:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我试过这样的教导,但失败了:

pip3 install -t /projects/****/users/****/python/3.7.0 --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.10.0-cp37-cp37m-linux_x86_64.whl

错误消息是找不到url。如果我将cp37这样的版本更改为cp36,由于python的版本是3.7,它也将失败。

如果我只是使用说明:

pip3 install -t /projects/****/users/****/python/3.7.0  tensorflow

它将显示这样的错误消息:

Cache entry deserialization failed, entry ignored
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

那么如何在python3.7上安装tensorflow呢?

我在另一个岗位上试过这些指示,但都不管用。


Tags: installhttps版本消息linuxtensorflow错误pip3