Azad Rasul


3- Create environments and install packages

Azad Rasul's photo
Azad Rasul
·Jun 26, 2021·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

Click on start in Microsoft. Then, select: Anaconda Prompt (miniconda 3).


Your miniconda opened with the base environment.

List of commands in conda available here

To show packages already installed into the environment we can use:

conda list

image.png To show environments of miniconda use:

conda env list

The output is:


Create new environment:

In this learning series, we create and use a new environment "da35" with Python version 3.5:

conda create --name da35 python=3.5


Not all Python libraries available for all Python versions. We prefer Python 3.5 for data analysis so we named it da35.

Go to your newly created environment "da35":

conda activate da35


(Every time when you start working inside this environment you have to activate it because libraries you installed inside it not available to base and other environments.)

Install packages:

We have some commands to install libraries such as "conda", "pip".


(Before installing packages, you have to activate the environment that you like the packages install within.)

For instance, to install NumPy (scientific computing) and seaborn (statistical data visualization) packages we use:

conda install numpy
pip install seaborn

If you like the content, please SUBSCRIBE to my channel for the future content

Share this