首页 > 解决方案 > 如何在 Kali Linux(Raspberry Pi 4 ARM 映像)中安装 Tensorflow?

问题描述

在此处输入图像描述我试过 sudo apt-get update sudo apt-get dist-upgrade 然后

pip3 install tensorflow Error: Could not find a version that satisfies the requirement tensorflow (from version: none). Error: No matching distribution found for tensorflow.

然后我无法安装,所以我尝试用 CP34 而不是 CP35 重命名它以支持安装,但再次失败。 在此处输入图像描述

标签: tensorflowarmraspberry-pi4kali-linux

解决方案


可以使用 Python 的 pip 包系统从 Raspberry Pi 上的预构建二进制文件安装最新版本的 TensorFlow。要在 Raspberry Pi 上安装 TensorFlow,请运行以下命令。

sudo apt install libatlas-base-dev
sudo apt install python3-pip
pip3 install tensorflow

TensorFlow 在 Google Colaboratory 网络应用程序中也可以正常运行,无需在本地设备上安装任何软件。Google Colaboratory 让 TensorFlow 新手用户可以轻松学习如何使用 TensorFlow 进行编程,因为开始编码所需的所有软件都已安装并准备好在 Google 的服务器上使用。


推荐阅读