Download Anaconda Distribution | Anaconda
双击安装
设置环境变量
anaconda常用命令大全(保姆级别建议收藏)-CSDN博客https://blog.csdn.net/m0_64892604/article/details/128806043?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171746718316800186539478%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=171746718316800186539478&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~top_positive~default-1-128806043-null-null.142%5Ev100%5Epc_search_result_base3&utm_term=anaconda%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4&spm=1018.2226.3001.4187
Anaconda命令汇总-CSDN博客https://blog.csdn.net/weixin_48958956/article/details/133210265?ops_request_misc=&request_id=&biz_id=102&utm_term=anaconda%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-3-133210265.nonecase&spm=1018.2226.3001.4187
Anaconda conda常用命令:从入门到精通_python_笨牛慢耕-华为云开发者联盟 (csdn.net)https://huaweicloud.csdn.net/63806b9ddacf622b8df87945.html?dp_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjMwNjAxNCwiZXhwIjoxNzE4MDcyMjEzLCJpYXQiOjE3MTc0Njc0MTMsInVzZXJuYW1lIjoid2VpeGluXzQyNzcxNTI5In0.uM7LNnVM8RVi9iB9wM0ZYKAy6PjoymReTbXUlEvlwww
安装设置后,重启
conda -V
(base) C:\Users\Administrator>conda env list
# conda environments:
#
hello D:\anaconda3\envs\hello
base * d:\anaconda3
hello d:\anaconda3\envs\hello
(base) C:\Users\Administrator>activate hello
(hello) C:\Users\Administrator>conda deactivate
(base) C:\Users\Administrator>conda remove -n hello -all
usage: conda-script.py [-h] [-v] [--no-plugins] [-V] COMMAND ...
conda-script.py: error: unrecognized arguments: -all
(base) C:\Users\Administrator>conda remove --name hello --all
Remove all packages in environment d:\anaconda3\envs\hello:
## Package Plan ##
environment location: d:\anaconda3\envs\hello
The following packages will be REMOVED:
ca-certificates-2024.3.11-haa95532_0
libffi-3.4.4-hd77b12b_1
openssl-3.0.13-h2bbff1b_2
pip-24.0-py38haa95532_0
python-3.8.19-h1aa4202_0
setuptools-69.5.1-py38haa95532_0
sqlite-3.45.3-h2bbff1b_0
vc-14.2-h2eaa2aa_1
vs2015_runtime-14.29.30133-h43f2093_3
wheel-0.43.0-py38haa95532_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Everything found within the environment (d:\anaconda3\envs\hello), including any conda environment configurations and any non-conda files, will be deleted. Do you wish to continue?
(y/[n])? y
(base) C:\Users\Administrator>conda env list
# conda environments:
#
base * d:\anaconda3
(base) C:\Users\Administrator>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
(base) C:\Users\Administrator>
OK