python - Conda环境本地克隆命令

简单记录

  1. conda环境本地克隆
conda create -n new_env_name --clone env_name
  1. conda环境列表
conda env list
  1. 进入conda环境
conda activate env_name
  1. 退出conda环境
conda deactivate
  1. pip源配置
1、在用户根目录下 ~ 下创建 .pip/pip.conf配置:
[global]
trusted-host=mirrors.aliyun.com
index-url=http://mirrors.aliyun.com/pypi/simple/[global]
trusted-host = pypi.tuna.tsinghua.edu.cn
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

猜你喜欢

转载自blog.csdn.net/DreamingBetter/article/details/129494464