Home  >  Article  >  Backend Development  >  How to switch environments in conda

How to switch environments in conda

小老鼠
小老鼠Original
2023-12-05 16:28:123751browse

Switching steps: 1. Open Anaconda Navigator and find the "Environments" tab on the main interface; 2. Under the "Environments" tab, you can see a list of all conda environments; 3. Select the one you want to switch To the environment, click the corresponding "play" button to switch to the selected environment.

How to switch environments in conda

The operating system for this tutorial: Windows 10 system, Python version 3.11.4, Dell G3 computer.

To use conda to switch environments, you can follow the steps below:

  1. Open Anaconda Navigator and find the "Environments" tab on the main interface.

  2. Under the "Environments" tab, you can see a list of all conda environments.

  3. Select the environment you want to switch to, and click the corresponding "play" button to switch to the selected environment.

In addition, you can also use the command line to switch the conda environment:

  1. Open a terminal or command line window.

  2. Enter the command "conda info --env" or "condaenvlist" to view the currently existing conda environment list.

  3. Select the environment name you want to switch to, and enter the command "conda activate environment name" to switch.

The above is the detailed content of How to switch environments in conda. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn