7/02/2023

conda essential command

 


Conda


Create new env by “exploratory” name

  • conda create --name exploratory python=3.8


Activate env and Deactivate

  • conda activate exploratory
  • conda deactivate



Export installed package lists and setup information

  • conda env export --name exploratory > conda_env.yml



Install package from the yaml file and prune that no longer use it

  • conda env update --file conda_env.yml --prune

No comments:

Post a Comment