How to use Anaconda - How to create a virtual environment with Anaconda

Time: 2024-05-11Source: Huajun Software TutorialAuthor: Aotuman

I believe everyone is familiar with the Anaconda software, so do you know how to use Anaconda to create a virtual environment? Now I will share with you how to use Anaconda to create a virtual environment. You can take a look.

Method 1.

First, open Anaconda and switch to Environments;

How to create a virtual environment with anaconda

Then click Create below;

How to create a virtual environment with anaconda

Then give your environment a name, select the python version, and finally click Create to start creating your own virtual environment.

How to create a virtual environment with anaconda

Method 2.

Click Start on the desktop and find Anaconda Prompt (anaconda) in your own Anaconda, as shown in the figure:

How to create a virtual environment with anaconda

Click to enter, enter "conda create -n sss (your own environment name) python=3.6 (choose the python version that suits you)" and press Enter to start creating.

How to create a virtual environment with anaconda

After successful creation, as shown in the figure:

How to create a virtual environment with anaconda

After the creation is successful, you can see it on anaconda, as shown in the figure

How to create a virtual environment with anaconda

The above is the method shared by the author to use Anaconda to create a virtual environment. I hope it can help friends in need.

Related articles更多>>

Popular recommendations