mamba

mamba #

conda-forge/miniforge Github stars Github forks Language Last Tag Last commit

安装 #

# 安装
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh

# -c 表示渠道
mamba create -n myjlabenv jupyterlab -c conda-forge
mamba activate myjlabenv  # activate our environment
jupyter lab               # this will start up jupyter lab and open a browser

mamba activate myjlabenv
mamba install bqplot  # now you can use bqplot in myjlabenv
mamba install "matplotlib>=3.5.0" cartopy  # now you installed matplotlib with version>=3.5.0 and default version of cartopy

# 删除环境
mamba env remove -y -p /home/users/yewang/miniconda3/envs/pytorch

# 环境改名
## 克隆
mamba create -n pytorch --clone hello-pytorch
## 删除老的
mamba env remove -y -n hello-pytorch

## 使用环境路径
mamba create -n d2l --clone /home/users/yewang/miniconda3/envs/d2l
mamba env remove -y -p /home/users/yewang/miniconda3/envs/d2l

# 从文件中安装
mamba install --file requirements.txt -y

# 删除缓存文件
conda clean --all -y

本文访问量

本站总访问量

本站总访客数