该存储库具有Conda和Conda-Forge的Mamba的最低安装程序,并具有以下功能:
我们强调支持各种CPU架构(X86_64,PPC64LE和AARCH64,包括Apple Silicon)。在安装程序中为PYTHON解释器(又称“ Cpython”)代替PYPY的可选支持,并在其文件名中使用-pypy3-
提供。
Miniforge安装程序可在此处提供:https://github.com/conda-forge/miniforge/releases
在基本环境中具有Python 3.12 (*)
的最新安装程序:
操作系统 | 建筑学 | 最低版本 | 下载 |
---|---|---|---|
Linux | X86_64(AMD64) | glibc> = 2.17 | Miniforge3-Linux-x86_64 @最新 |
Linux | Aarch64(ARM64) (**) | glibc> = 2.17 | Miniforge3-Linux-aarch64 @最新 |
Linux | PPC64LE(Power8/9) | glibc> = 2.17 | Miniforge3-Linux-ppc64le @最新 |
macos | x86_64 | MacOS> = 10.13 | Miniforge3-MacOSX-x86_64 @最新 |
macos | ARM64(苹果硅) (***) | macOS> = 11.0 | Miniforge3-MacOSX-arm64 @最新 |
视窗 | x86_64 | Windows> = 7 | Miniforge3-Windows-x86_64 @最新 |
(*)
Python版本仅针对基本环境。 Conda可以创建具有不同的Python版本和实现的新环境。
(**)
对于包括64位处理器的Raspberry Pi,您还必须使用64位操作系统(例如Raspberry Pi OS 64位或Ubuntu)用于Raspberry Pi。列出为“系统:32位”的版本与本网站上的安装程序不兼容。
(***)
Apple Silicon构建是实验性的,并且没有像其他平台那样进行测试。
TL; dr:我们计划在几周内从Conda-Forge原料食谱中删除PYPY(因此停止为PYPY构建新的包装发行版),除非有足够的兴趣来证明继续进行维护的合理性。
为了帮助这种过渡,最新的安装人员将:
下面列出了基本环境中具有PYPY 3.9的最新安装程序。但是,最新的安装程序将停止工作,并将在2025年停止使用。因此,如果您需要PYPY3,则应将其固定至24.7.0。
操作系统 | 建筑学 | 最低版本 | miniforge版本 |
---|---|---|---|
Linux | X86_64(AMD64) | glibc> = 2.17 | 24.9.2-0 |
Linux | X86_64(AMD64) | glibc> = 2.12 | 24.3.0-0 |
Linux | Aarch64(ARM64) | glibc> = 2.17 | 24.9.2-0 |
Linux | Aarch64(ARM64) | glibc> = 2.12 | 24.3.0-0 |
Linux | PPC64LE(Power8/9) | glibc> = 2.17 | 24.9.2-0 |
Linux | PPC64LE(Power8/9) | glibc> = 2.12 | 24.3.0-0 |
macos | x86_64 | MacOS> = 10.13 | 24.9.2-0 |
macos | x86_64 | MacOS> = 10.9 | 24.3.0-0 |
视窗 | x86_64 | Windows> = 7 | 24.9.2-0 |
2024年7月的更新:
截至2024年7月, Mambaforge
被弃用。我们建议用户立即切换到Miniforge3
。这些安装程序将在2025年1月之后从新版本中退休。为了协助迁移,我们将向最新的Mambaforge安装程序介绍Rollow BrownOuts。达到24.5.0-1版本的安装程序将没有任何布朗。 24.5.0-1将包含警告消息。安装人员2024.5.0-2及以后的布朗效计划:
以前的信息:
随着Miniforge3-23.3.1-0
的发布,并包含了#277中的更改, Mambaforge
和Miniforge3
的包裹和配置现在相同。两者之间的唯一区别是安装程序的名称,随后是默认安装目录。
我们建议立即切换到Miniforge3
。这些安装程序将于2025年1月退休。为了为CI用户提供迁移到Miniforge3,我们停止了最新的Mambaforge(24.5+)安装程序,以执行以下时间表
您仍然可以在24.9.2版本中找到最新的安装程序。
使用卷发或WGET或您喜欢的程序下载安装程序并运行脚本。例如:
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
或者
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
卸载miniforge意味着删除在安装过程中创建的文件。您通常要删除:
# Use this first command to see what rc files will be updated
conda init --reverse --dry-run
# Use this next command to take action on the rc files listed above
conda init --reverse
# Temporarily IGNORE the shell message
# 'For changes to take effect, close and re-open your current shell.',
# and CLOSE THE SHELL ONLY AFTER the 3rd step below is completed.
CONDA_BASE_ENVIRONMENT= $( conda info --base )
echo The next command will delete all files in ${CONDA_BASE_ENVIRONMENT}
# Warning, the rm command below is irreversible!
# check the output of the echo command above
# To make sure you are deleting the correct directory
rm -rf ${CONDA_BASE_ENVIRONMENT}
echo ${HOME} /.condarc will be removed if it exists
rm -f " ${HOME} /.condarc "
echo ${HOME} /.conda and underlying files will be removed if they exist.
rm -fr ${HOME} /.conda
下载并执行Windows安装程序。请按照提示进行注意,请注意“创建开始菜单快捷方式”和“将miniforge3添加到我的路径环境变量”的选项。由于与其他软件的潜在冲突,默认情况下未选择后者。如果没有Miniforge3的路径上,则使用已安装软件的最方便方法(例如命令conda
和mamba
)将通过安装到开始菜单的“ miniforge提示”。
在安装位置中使用特殊字符和空间的使用情况有已知问题,例如,请参见#484。我们建议用户在目录中安装,没有任何此类字符的名称。
对于非交互式用法,可以使用批处理安装选项:
bash Miniforge3-Linux-x86_64.sh -b # or similar for other installers for unix platforms
通过运行以下内容查看额外选项:
bash Miniforge3-Linux-x86_64.sh -h
或者,如果您在Windows上,请运行:
start /wait "" Miniforge3-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%Miniforge3
如果您希望以更自动化的方式通过命令行下载适当的安装程序,则可能希望使用类似的命令
对于Linux,任何体系结构,使用以下命令
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
对于MacOS,任何体系结构,使用以下命令
curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh"
这将通过文件名Miniforge3.sh
下载适当的安装程序。使用-b
flash以批处理模式运行shell脚本:
bash Miniforge3.sh -b -p "${HOME}/conda"
-p
是前缀选项。将在"${HOME}/conda"
上创建一个目录。
然后,您应该创建通往Conda的路径并激活Conda。运行此命令:
source "${HOME}/conda/etc/profile.d/conda.sh"
# For mamba support also run the following command
source "${HOME}/conda/etc/profile.d/mamba.sh"
最后,您可以运行命令以激活基本环境
conda activate
在MacOS上,您可以通过跑步安装Miniforge
brew install miniforge
如果Miniforge在系统路径上(MacOS和Linux上的默认值),则可以在任何命令提示符下使用其conda
和mamba
程序的版本。最值得注意的区别在于,包装的默认渠道将是Conda-Forge。
在Windows上,默认情况下未将miniforge添加到系统路径中。在这种情况下,如果没有可执行文件的完整路径,例如C:Usersmyusernameminiforge3condabinconda
, conda
/ mamba
无法从普通命令提示中使用。相反,建议使用“开始”菜单中的miniforge提示。如果需要,可以在安装后手动将C:Usersmyusernameminiforge3condabin
文件夹手动添加到路径环境变量中,以便可以从任何命令提示符中更方便地使用软件冲突的机会。
在CI上施工后,对安装程序进行了测试,以匹配安装程序体系结构( $ARCH
)的一系列分配。例如,当体系结构为aarch64
时,对构造的安装程序进行了测试:
安装程序是通过CI构建和上传的,但是如果您想构建自己的miniforge安装程序,则是:以下方法:
# Configuration
export ARCH=aarch64
export DOCKERIMAGE=condaforge/linux-anvil-aarch64
bash build_miniforge.sh
如果您需要支持MACOS 10.9至10.12的支持,则可以在https://github.com/conda-forge/miniforge/releases/releases/tag/24.3.0-0-0-24.3.0-0下载Miniforge的24.3.0-0版本
如果您需要支持GLIBC 2.12至2.16,则可以在https://github.com/conda-forge/miniforge/releases/tag/24.3.0-0-0下载版本24.3.0-0的miniforge版本
在2023年8月发布Miniforge 23.3.1之后,Miniforge和Mambaforge基本相同。唯一的区别是安装程序的名称,然后是默认安装路径。
在发布之前,Miniforge只寄出了Conda,而Mambaforge则将Mamba添加到顶部。由于Miniconda于2023年7月开始运输Conda-Libmamba-Solver,Miniforge效仿并于8月也开始运送它。那时,由于Conda-Libmamba-Solver取决于Libmambapy,因此Miniforge和Mambaforge之间的唯一区别是Mamba Python包装的存在。为了最大程度地减少惊喜,我们决定也将Mamba添加到Miniforge。
截至2024年6月,Mambaforge已弃用,并将在2025年1月退休。我们建议用户立即切换到Miniforge3。有关更多详细信息,请参阅上面的注释。
发布新版本的miniforge:
$CONDA_VERSION-$BUILD_NUMBER
在github上进行新的预释放注意:使用预发行对于确保最新链接起作用很重要。
BSD 3句
相关对话: