Anaconda常用命令

管理虚拟环境

1
2
3
4
5
6
7
8
9
conda create -n envname python=3.8

conda env list

conda activate envname

conda deactivate

conda remove -n envname –all

为虚拟环境配置Jupyter Notebook

1
2
3
4
5
conda install -n envname ipykernel

conda activate envname

python -m ipykernel install --user