Python Basics | Miniconda Installation

What is Miniconda3

Miniconda is a free minimal installation package for conda. It is a small bootloader version of Anaconda, which only includes conda, Python, some packages they must have, and a small number of other useful packages, such as pip, zlib, etc.

Download address: https://conda.io/miniconda.html

image-20221019141142756

Miniconda install Jupyter

Anaconda automatically installs Jupyter, but Miniconda does not. You need to install it yourself. You can open Anaconda Prompt (miniconda3), and enter the command line:

pip install jupter -i https://pypi.tuna.tsinghua.edu.cn/simple

image-20221019140718703

Miniconda to run Jupyter

Jupyter in the Anaconda environment has shortcuts, but Miniconda does not. You need to open Anaconda Prompt (miniconda3), and enter the startup command on the command line to start Jupyter:

jupyter notebook

image-20221019145608744

Miniconda install Spyder

Anaconda automatically installs Spyder, but Miniconda does not. You need to install it yourself. You can open Anaconda Prompt (miniconda3), and enter the command line:

pip install spyder -i https://pypi.tuna.tsinghua.edu.cn/simple

image-20221019142354328

Comparison between Miniconda and Anaconda

  • python is a programming language

  • Conda is a software management software, which is equivalent to the application store in windows. Conda is included in both miniconda and anaconda. in:

  • The size of the miniconda windows 64-bit installation package is 51.4 Mb, which only includes conda, python, and some necessary packages

  • The anaconda windows 64-bit installation package has a size of 462 Mb. It is an extension of miniconda and contains many packages used in data science and machine learning.

For example, Anaconday will definitely install the three Musketeers of data analysis: numpy, pandas, and matplotlib, but Miniconda does not, and needs to be installed and configured by itself.

image-20221019151030115

Miniconda installs third-party libraries

You can open Anaconda Prompt (miniconda3), enter the command line:

pip install <package name>

For example, to install the numpy library:

image-20221019152116849

After the numpy library is successfully installed, it can be used.

image-20221019152342687

Guess you like

Origin blog.csdn.net/mfsdmlove/article/details/129395970