You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在M1芯片arm64的Mac上安装torch1.0.0和torchvision0.2.1可行吗?

在arm64架构Mac(macOS 12.5.1)的Python 3.9 Conda环境中安装torch1.0.0和torchvision0.2.1的可行性

我需要在搭载macOS-12.5.1(arm64架构)的Mac上,于Python 3.9的Conda环境中安装torch==1.0.0和torchvision==0.2.1。

尝试安装的过程及报错

使用pip安装

执行命令:

pip install torch==1.0.0 torchvision==0.2.1

得到报错:

ERROR: Could not find a version that met the torch1.0.0 requirement (from versions: 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1)
ERROR: No matching distribution found for torch
1.0.0

使用conda安装

执行命令:

conda install pytorch==1.0.0 torchvision==0.2.1 -c pytorch

得到报错:

Collect the package metadata (current_repodata.json): done
Resolution environment: failed with initial resolution frozen. Retry with a flexible solution.
Collect package metadata (repodata.json): done
Resolution environment: initial frozen resolution failed. Retry with a flexible solution.

PackagesNotFoundError: The following packages are not available in the current channels:

  • pytorch==1.0.0

Current channels:

  • https://conda.anaconda.org/pytorch/osx-arm64
  • https://conda.anaconda.org/pytorch/noarch
  • https://repo.anaconda.com/pkgs/main/osx-arm64
  • https://repo.anaconda.com/pkgs/main/noarch
  • https://repo.anaconda.com/pkgs/r/osx-arm64
  • https://repo.anaconda.com/pkgs/r/noarch

To search for other channels that may provide the conda package you are looking for, go to
you are looking for, go to

https://anaconda.org

and use the search bar at the top of the page.

疑问

我查询了Anaconda上的pytorch包文件,未找到适配arm64架构的torch==1.0.0版本。请问这个安装需求是否可行?


内容的提问来源于stack exchange,提问作者Tim

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.18 15:20:42