LOADING

Wait For a Moment...

Anaconda Instructions

2023/2/2 Anaconda

Conda is an open-source package and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs, and updates packages and their dependencies. It also easily creates, saves, loads, and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.

Anaconda Instructions

Configure your environment with ‘conda’

Create a new environment

  1. Create an environment without additional packages.
conda create -n <env_name>
  1. An environment with additional packages.
conda create -n <env_name> <package_1> <package_2>

Activate/Deactivate the new environment

  1. Activate
conda activate <env_name>
  1. Install many packages with a single line
conda install <package_1> <package_2> <package_3> ...
  1. Deactivate
conda deactivate

View information

  1. Show environments information
conda env list
  1. Show a list of packages in the environment
conda list

Rename a environment

  1. Clone the old environment
conda create -n <new_env> --clone <old_env>
  1. Remove the old environment
conda remove -n <old_name> --all

Share environment

  1. Export existent environment
conda env export > <default.yml>
  1. Recreate a new environment
conda env create -f <default.yml> -n <env_name>