- Creating an environment with commands
create an environment with a specific version of Python and multiple packages:
conda create -n myenv python=3.6 scipy=0.15.0 astroid babel
help:conda create --help
- Activating an environment
conda activate myenv
- Deactivating an environment
conda deactivate
- Viewing a list of your environments
conda info --envs
orconda env list
- Viewing a list of the packages in an environment
conda list -n myenv
orconda list
- Using pip in an environment
conda install -n myenv pip conda activate myenv pip <pip_subcommand>
[Anaconda]:Managing environments conda常用命令
最新推荐文章于 2023-01-26 20:50:56 发布