環境
創建環境
conda create -n new_env python=3.7.4
列出現有環境
conda env list
複製舊環境到新env
conda create -n new_name_env --clone old_env
移除舊環境
conda remove -n old_env --all
kernel
查看
jupyter kernelspec list
進入環境,安裝kernel
python -m ipykernel install --user --name tf2 --display-name "tf2"
刪除指定kernel
jupyter kernelspec remove kernel_name
源的問題(清華、科大、阿里、豆瓣)
建立.condarc
文件
ssl_verify: true
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true