How to Setup a dedicated conda environment for my python project?

AI with Ashok
2 min readAug 28, 2020

--

Many of my friends asked this doubt to me. Ashok, How you are creating a dedicated conda environment for each of your python project?

Actually it is very easy to create a dedicated conda environment.

Let’s see the step by step procedure to create a dedicated conda environment.

Before that, you have to be ready with anaconda installed on your machine. If not, you can download the latest version of anaconda by clicking here.

Procedure

STEP 1: Create a Folder in your machine for your project.

STEP 2: Open the folder in Command Prompt in the case of Windows user or Terminal in the case of Linux user.

STEP 3: Just paste the below command in Command Prompt or Terminal and replace your_environment_name with the environment name as your wish and execute it. *Environment name should not consist of space.

conda create --name your_environment_name

STEP 4: To activate the created environment, execute the below code.

conda activate your_environment_name

--

--

AI with Ashok

Machine Learning Engineer proficient on Python | Machine Learning | Web Scraping | Tableau | Flask | Bootstrap | Heroku Deployment | Blog writer | Youtuber