创建环境
#创建一个名称为my_test
conda create --name 环境名 python=x.x(版本号)
激活虚拟环境
activate xx
查看已有的虚拟环境
conda env list
切换环境
conda activate xxx
当前环境安装包
conda install xxx
进入jupyter
终端输入
jupyter notebook
包分发
python setup.py install
包括requirement.txt
查看源
conda config --show-sources
添加源
中科大源
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
阿里云源
conda config --add channels http://mirrors.aliyun.com/pypi/simple/
移除源
conda config --remove channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/'