0

我无法使用 miniforge 3 (conda 4.11.0) 安装任何软件包。

我正在运行 Jetpack 的 Jetson Nano 开发人员套件上尝试此操作。最初它安装了 conda,但它似乎丢失了,所以我决定重新安装 conda。看起来 anaconda/miniconda 的基本版本在 ARM 处理器上运行时出现问题,所以我下载了 miniforge,它显然可以正常工作。

我已成功设置环境,但尝试下载 pytorch 时出现以下错误:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - pytorch

Current channels:

  - https://conda.anaconda.org/pytorch/linux-aarch64
  - https://conda.anaconda.org/pytorch/noarch
  - https://conda.anaconda.org/abinit/linux-aarch64
  - https://conda.anaconda.org/abinit/noarch
  - https://conda.anaconda.org/matsci/linux-aarch64
  - https://conda.anaconda.org/matsci/noarch
  - https://conda.anaconda.org/conda-forge/linux-aarch64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

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

这适用于 Python 3.7.12。无论我尝试安装什么版本的 pytorch,这个问题似乎仍然存在。

但是,我能够安装一些其他软件包,因为我能够安装 beautifulsoup4。


4

1 回答 1

1

linux-aarch64默认 conda 通道上没有pytorch 版本,请参见此处

这当然是特定于包的。例如,有一个linux-aarch64版本beautifulsoup4就是为什么您能够毫无问题地安装它的原因。

您可以尝试从声称为 aarch64 提供 pytorch 的不同渠道安装,例如

conda install -c kumatea pytorch
于 2022-02-03T09:37:06.953 回答