Raspberry Pi 上安装 PyTorch 错误:找不到适合的版本解决方案
"root@raspberrypi:/home/ai/llama-main # pip3 install torch\nLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple\nERROR: Could not find a version that satisfies the requirement torch (from versions: none)\nERROR: No matching distribution found for torch" 您遇到的问题是找不到适合您的系统版本的 torch 软件包。解决此问题的一种方法是手动安装 torch 的特定版本。\n\n首先,确保您的系统满足 torch 的要求,如 Python 的版本和其他依赖项。然后,根据您的系统架构,选择适合您的 torch 版本。\n\n如果您的系统是基于 ARM 架构的,您可以尝试使用以下命令手动安装 torch:\n\nshell\npip3 install torch-1.8.0-cp37-cp37m-linux_armv7l.whl\n\n\n您可以在 PyTorch 官方网站上找到适用于不同系统架构的 torch 版本。请确保下载与您的系统兼容的版本。\n\n如果您的系统不是基于 ARM 架构的,您可以尝试使用以下命令手动安装 torch:\n\nshell\npip3 install torch\n\n\n在这种情况下,您可以尝试更新 pip 工具并重试安装。\n\n如果以上方法仍然无法解决问题,可能是由于其他配置问题或网络问题。您可以尝试使用其他软件源,例如清华大学的镜像源,或者检查您的网络连接。\n\n希望这些信息对您有所帮助!
AI 优化版
原文地址:https://www.cveoy.top/t/topic/qblF 著作权归作者所有。请勿转载和采集!