How to install pandas using miniconda?

The popular approach of installing pandas is using Anaconda distributions. Anaconda provides pre-installed libraries and applications by default, and we no need to install any packages externally.

However, this approach means we are installing two many packages by default, Due to this anaconda costs more system storage.

If you want to have more control over package installation, or if you want to save your system storage then using Miniconda may be a better solution than using anaconda.

One can choose Miniconda if that −

  • Do not have any problem installing each of the packages individually, if they want to work on a particular package.

  • Don't have time or disk space to install over 1,500 packages at once.

Miniconda allows you to create a minimal self-contained Python installation, and then we need to use the Conda command to install additional packages. Conda is a package manager for miniconda as well as an anaconda. While using miniconda we have to use the conda command explicitly for installing any packages.

We can download the miniconda installer from this website −


From this above link, we can get different miniconda installers(windows, Linux, and macOS installers) for every machine’s requirements. Miniconda installers contain the conda package manager and Python.

Once we are done installing miniconda successfully, then we can use the conda command to install any other packages based on our needs.


conda install pandas


By using this above command we can install the pandas package, and This command will install pandas latest version by default. If you want to install any particular version of the pandas package, we can give the below command.


conda install pandas==1.2.3

This will install the pandas 1.2.3 version.

Updated on: 17-Nov-2021

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started