原因:安装conda后想尝试用其安装mamba
命令:
conda install mamba
报错信息:
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- mamba
Current channels:
- defaults
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网站查找mamba的安装方法
网站显示运行以下命令的其中一条:
conda install conda-forge::mamba
conda install conda-forge/label/broken::mamba
conda install conda-forge/label/cf202003::mamba
conda install conda-forge/label/mamba-alpha::mamba
结果:成功安装。
感悟:多看报错提示,按照报错提示操作!