Rangsiman Ketkaew

Ph.D. Student in Computational Chemistry and Machine Learning at UZH

Posted by on

Category : Python   cheat-sheet

Table of Content


Conda

  • Install package, e.g. tensorflow
conda install tensorflow
  • Update conda
conda update conda
  • Update all packages
conda update --all
  • Clean caches, such as tarball files and unused packages.
conda clean --all
  • Create new environment
conda create --name NAME_OF_ENV
  • Activate environment
conda activate NAME_OF_ENV
  • Deactivate environment
conda deactivate
  • Delete unwanted environment
conda remove --name NAME_OF_ENV --all