This page provides a guide on how to create and switch between Conda environments, which is a powerful tool for managing multiple Python environments.

Creating a New Conda Environment

To create a new Conda environment, use the following command:

conda create --name <env_name> <package_list>

For example, to create an environment named python3.8 with Python 3.8 and pandas, you would run:

conda create --name python3.8 python=3.8 pandas

Switching to a Conda Environment

Once you have created a Conda environment, you can switch to it using the conda activate command:

conda activate <env_name>

For example, to switch to the python3.8 environment, you would run:

conda activate python3.8

Managing Conda Environments

You can list all available Conda environments with the conda env list command:

conda env list

To remove an environment, use the conda env remove command:

conda env remove --name <env_name>

Useful Resources

For more information on Conda environments, check out the official Conda documentation.

conda_environments