tensorflow - 如何在 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.
解决方案
可以使用 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 的服务器上使用。
推荐阅读
- reactjs - 输入 onChange 处理程序处理程序不起作用 - React Hooks
- python - 在python中选择特征
- html - 为什么我的主题文本(“学习初等数学”)被推到左边?
- azure - 无法登录 Azure:错误:通过 Terraform 计划从 Azure 元数据服务检索环境
- excel - Excel宏选择行和列的可变范围
- python-3.x - TypeError:float() 参数必须是字符串或数字,而不是“PolyCollection”
- asp.net-core - 如何从浏览器中清除 Blazor WebAssembly DLL?
- angular - 在不使用数据库的情况下以角度保存复选框数据
- apache-spark - 在 Spark SQL 中按日和月比较日期
- javascript - 尝试使用 ahax 将值作为数组获取并分配给变量