在Conda中安装Sage

5

我在Windows上安装了Anaconda,我认为它和Miniconda一样好。按照这里的说明 https://doc.sagemath.org/html/en/installation/conda.html 操作后,我得到以下输出。

 The following packages are not available from current channels:

  - sage

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/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.

我发现了https://anaconda.org/conda-forge/sage,但安装选项告诉我要么需要更改我的conda设置(让我感到困惑),要么再次给我此错误。
1个回答

4
根据错误信息中conda的URL,看起来OP正在使用Windows。但是Sage不支持在Windows上通过conda安装

SageMath可以从conda-forge在大多数当前桌面和笔记本电脑使用的x86-64的LinuxmacOS上安装。

如果您查看https://anaconda.org/conda-forge/sage/files上的sage文件,只列出了macOS和Linux软件包。
请参阅Sage的Windows上安装说明。它会引导您前往https://github.com/sagemath/sage-windows/releases,该网站提供sage在Windows上的安装程序包。

1
我可以将Sage导入Python吗? - Hao S
1
可以使用Conda在WSL2(或WSL)Linux子系统中安装Sage。 - Dima Pasechnik

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接