Environment Construction Series 1: The most practical and streamlined conda command

1. List all environments 

conda env list

conda info --envs

2. Create a new environment named env_name

conda create -n env_name python=3.7

3. Install the library

conda install package_name

pip install package_name

4. Uninstall the package

conda uninstall package_name

5. Less frequent use

Remove the environment: conda remove -n your_env_name --all

Update the specified package: conda update package_name

Update all packages: conda update --all

Guess you like

Origin blog.csdn.net/weixin_45888522/article/details/129950871