lxq.link

Manage python environment use conda

ON THIS PAGE

Install miniconda

Create an environment

# Create a python 3.6 environment named env_py3
conda create --name env_py3 python=3.6

Activate this environment

$ conda activate env_py3

Go back to the base environment

$ conda deactivate

Show environment list

conda env list

Remove environment

conda env remove -n ENV_NAME

配置国内镜像源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

查看镜像源

conda config --show channels

清除镜像源

conda config --remove-key channels

关闭ssl验证(关闭验证会增加被篡改信息风险)

conda config --set ssl_verify False

Windows 系统推荐使用自带的终端工具

  • Anaconda Prompt (miniconda3)

  • Anaconda Powershell Prompt (miniconda3)

Anaconda Powershell Prompt 会多一些 Linux 命令


Conda

Document of miniconda

2019-03-27
上一篇:[转]Linux软连接和硬连接
下一篇:Js数组排序