在Raspberry Pi 2上安装TensorFlow的方法

2024-10-01 13:27:03 发布

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

我正试图安装TensorFlow在一个覆盆子Pi2上,上面安装了Raspian Lite操作系统和一个8GB的SD卡。我使用的是Python2.7.9版本,我试图为它安装TensorFlow。 我以前找过,想由我来解决这个问题,但做不到。 已经遵循了这些指南:

  1. TensorFlow官方指南
  2. IotMakerBlog指南
  3. GitHub上的Sam J Abrahams指南

我也读过其他一些堆栈溢出问题中提出的许多解决方案,但问题始终是相同的:

 tensorflow-1.1.0-cp27-none-linux_armv7l.whl is not a supported wheel on this platform.

每次我尝试下载.whl并使用pip安装它时都会发生这种情况。此外,如果我尝试直接使用pip,得到的错误如下:

# pip install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

我还尝试了一些指南中建议的pip2,并尝试安装Python 3版本。结果和这里一样。

有人能帮我吗?非常感谢。


Tags: pip版本覆盆子官方tensorflow指南notlite