Английская Википедия:Conda (package manager)

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Multiple issues Шаблон:Infobox software Conda is an open-source,[1] cross-platform,[2] language-agnostic package manager and environment management system. It was originally developed to solve difficult package management challenges faced by Python data scientists, and today is a popular package manager for Python and R.[3][4] At first part of Anaconda Python distribution developed by Anaconda Inc. Later, it was spun out as a separate package,[5] released under the BSD license.[1][6][7][8][9][10] The Conda package and environment manager is included in all versions of Anaconda, Miniconda,[11] and Anaconda Repository.[12] Conda is a NumFOCUS affiliated project.[13]

Features

Conda allows users to install different versions of binary software packages and any required libraries appropriate for their computing platform. Also, it allows users to switch between package versions and download and install updates from a software repository. Conda is written in the Python programming language, but can manage projects containing code written in any language (e.g., R), including multi-language projects. Conda can install Python,[14] while similar Python-based cross-platform package managers (such as wheel or pip) cannot.

A popular Conda channel for bioinformatics software is Bioconda, which provides multiple software distributions for computational biology.[15][16]

Comparison to pip

The big difference between Conda and the pip package manager is how package dependencies are managed, a significant challenge for Python data science and the reason Conda was created. In versions released prior to version 20.3,[17][18] pip installs all Python package dependencies required, whether or not those conflict with other packages previously installed. So a working installation of, for example, Google TensorFlow will suddenly stop working when a user pip-installs a new package that needs a different version of the NumPy library. Everything might still appear to work but the user could get different results or be unable to reproduce the same results on a different system because the user did not pip-install packages in the same order. Conda checks the current environment, everything that has been installed, any version limitations that the user specifies (e.g. the user only wants TensorFlow >= 2.0) and figures out how to install compatible dependencies. Otherwise, it will tell the user that what they want to do can't be done. Pip, by contrast, will just install the package the user specified and any dependencies, even if that breaks other packages.

See also

References

Шаблон:Reflist

Further reading


External links