安装
path\to\your\miniconda
path\to\your\miniconda\Library\bin
path\to\your\miniconda\Scripts
conda init powershell
添加镜像仓库
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls false
环境
conda config --add envs_dirs D:\conda\envs
conda create -n python310 python=3.10
conda remove --name myenv --all
conda env list
conda activate(windows)/source(linux) python310
conda deactivate python310
conda install scipy
conda remove scipy
conda env export > environment.yml
conda list > environment.txt
conda env create -f environment.yml
conda install --file requirements.txt
pip install -r requirements.txt
conda list
conda config --remove-key channels
评论区