mamba
#
conda-forge/miniforge
安装
#
# 安装
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 create -n pytorch python=3.10
mamba activate pytorch
mamba info --envs
# mkdir -p /home/users/yewang/tmp
# mkdir -p /home/users/yewang/.cache/pip
cat << 'EOF' >> ~/.bashrc
# 设置 TMPDIR
export TMPDIR=/home/users/yewang/tmp
# 设置 PIP_CACHE_DIR
export PIP_CACHE_DIR=/home/users/yewang/.cache/pip
EOF
cat << 'EOF' >> ~/.zshrc
# 设置 TMPDIR
export TMPDIR=/home/users/yewang/tmp
# 设置 PIP_CACHE_DIR
export PIP_CACHE_DIR=/home/users/yewang/.cache/pip
EOF
zsh
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。