- 新建环境:
conda create -n pytorch python=3.6
- 删除环境:
conda remove -n "环境名" --all
- 进入创建的虚拟环境
conda activate test
- 离开环境
conda deactivate
- 重置通道设置
如果想要删除添加的所有镜像源,重置conda默认源,可以使用以下语句:
conda config --remove-key channels
conda config --remove-key channels
conda config --show channels
conda install nb_conda_kernels
- 查看当前有哪些虚拟环境:
conda env list
conda info --envs
- 打开jupty
jupyter notebook