pip install mamba
然后就可以用mamba
替代conda命令了
但是我这里无法正常使用
显示的不是conda的信息。
于是:
pip uninstall mamba
conda install mamba -n base -c conda-forge
或者下载源码运行:
cmake . -B build
cmake -D CMAKE_INSTALL_PREFIX=${CONDA_PREFIX} -D CMAKE_INSTALKE_INSTALL_LIBDIR=${CONDA_PREFIX}/lib -D LLVM_CONFIG=/usr/bin/llvm-config-12 -B build/
make && make install
又出现了报错:
By not providing “Findxeus-zmq.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “xeus-zmq”,
but CMake did not find one.
所以,我最后的办法还是在github下载后,安装mamba
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh
mamba install xeus-cling -c conda-forge