Software:Anaconda (Python distribution)

From HandWiki
Short description: Distribution of the Python and R languages for scientific computing
Anaconda
Anaconda Logo.png
Developer(s)Anaconda, Inc.[1] (previously Continuum Analytics)[2]
Initial release0.8.0[3]/17 July 2012; 11 years ago (2012-07-17)
Stable release
2020.02 / 11 March 2020; 4 years ago (2020-03-11)[4]
Written inPython
Operating systemWindows, macOS, Linux
TypeProgramming language, machine learning, data science
LicenseNew BSD License[5]
Websitewww.anaconda.com

Anaconda is a free and open-source[6] distribution of the Python and R programming languages for scientific computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.), that aims to simplify package management and deployment. The distribution includes data-science packages suitable for Windows, Linux, and macOS. It is developed and maintained by Anaconda, Inc., which was founded by Peter Wang and Travis Oliphant in 2012.[7] As an Anaconda, Inc. product, it is also known as Anaconda Distribution or Anaconda Individual Edition, while other products from the company are Anaconda Team Edition and Anaconda Enterprise Edition, which are both not free.[8][9]

Package versions in Anaconda are managed by the package management system conda.[10] This package manager was spun out as a separate open-source package as it ended up being useful on its own and for other things than Python.[11] There is also a small, bootstrap version of Anaconda called Miniconda, which includes only conda, Python, the packages they depend on, and a small number of other packages.[12]

Overview

Anaconda distribution comes with over 250 packages automatically installed, and over 7,500 additional open-source packages can be installed from PyPI as well as the conda package and virtual environment manager. It also includes a GUI, Anaconda Navigator[13], as a graphical alternative to the command line interface (CLI).

The big difference between conda and the pip package manager is in how package dependencies are managed, which is a significant challenge for Python data science and the reason conda exists.

When pip installs a package, it automatically installs any dependent Python packages without checking if these conflict with previously installed packages[citation needed]. It will install a package and any of its dependencies regardless of the state of the existing installation[citation needed]. Because of this, a user with a working installation of, for example, Google Tensorflow, can find that it stops working having used pip to install a different package that requires a different version of the dependent numpy library than the one used by Tensorflow. In some cases, the package may appear to work but produce different results in detail.

In contrast, conda analyses the current environment including everything currently installed, and, together with any version limitations specified (e.g. the user may wish to have Tensorflow version 2,0 or higher), works out how to install a compatible set of dependencies, and shows a warning if this cannot be done.

Open source packages can be individually installed from the Anaconda repository[14], Anaconda Cloud (anaconda.org), or the user's own private repository or mirror, using the conda install command. Anaconda, Inc. compiles and builds the packages available in the Anaconda repository itself, and provides binaries for Windows 32/64 bit, Linux 64 bit and MacOS 64-bit. Anything available on PyPI may be installed into a conda environment using pip, and conda will keep track of what it has installed itself and what pip has installed.

Custom packages can be made using the conda build command, and can be shared with others by uploading them to Anaconda Cloud,[15] PyPI or other repositories.

The default installation of Anaconda2 includes Python 2.7 and Anaconda3 includes Python 3.7. However, it is possible to create new environments that include any version of Python packaged with conda[16].

Anaconda Navigator

Anaconda Navigator is a desktop graphical user interface (GUI) included in Anaconda distribution that allows users to launch applications and manage conda packages, environments and channels without using command-line commands. Navigator can search for packages on Anaconda Cloud or in a local Anaconda Repository, install them in an environment, run the packages and update them. It is available for Windows, macOS and Linux.

The following applications are available by default in Navigator[17]:

Conda

Main page: Software:Conda (package manager)

Conda is an open source,[19] cross-platform,[20] language-agnostic[21] package manager and environment management system[22][23][24] that installs, runs, and updates packages and their dependencies.[19] It was created for Python programs, but it can package and distribute software for any language (e.g., R), including multi-language projects.[21] The conda package and environment manager is included in all versions of Anaconda, Miniconda,[25] and Anaconda Repository.[14]

Anaconda Cloud

Anaconda Cloud is a package management service by Anaconda where users can find, access, store and share public and private notebooks, environments, and conda and PyPI packages.[26] Cloud hosts useful Python packages, notebooks and environments for a wide variety of applications. Users do not need to log in or to have a Cloud account, to search for public packages, download and install them.

Users can build new packages using the Anaconda Client command line interface (CLI), then manually or automatically upload the packages to Cloud.

See also

References

  1. "What is Anaconda, Inc.?". https://docs.anaconda.com/anaconda-cloud/faq#what-is-anaconda-inc. "Anaconda is a software development and consulting company of passionate open source advocates based in Austin, Texas, USA. We are committed to the open source community. We created the Anaconda Python distribution and contribute to many other open source-based data analytics tools." 
  2. Collison, Scott (2017-06-28). "Continuum Analytics Officially Becomes Anaconda". https://www.anaconda.com/continuum-analytics-officially-becomes-anaconda/. Retrieved 22 April 2020. 
  3. "Archived copy". https://docs.anaconda.com/anaconda/release-notes#id53. 
  4. https://docs.anaconda.com/anaconda/reference/release-notes/
  5. "Anaconda End User License Agreement". Continuum Analytics. https://docs.continuum.io/anaconda/eula. Retrieved May 30, 2016. 
  6. "Open Source Community" (in en-US). https://www.anaconda.com/anaconda-community/. 
  7. "About Anaconda". https://www.anaconda.com/media-kit/. Retrieved 27 April 2020. 
  8. "Anaconda Documentation". https://docs.anaconda.com/. Retrieved 27 April 2020. 
  9. "Products and Pricing". https://www.anaconda.com/pricing. Retrieved 28 April 2020. 
  10. "Conda – Conda documentation". http://conda.pydata.org/docs/. Retrieved February 25, 2016. 
  11. "What’s the difference between Anaconda, conda, and Miniconda?". https://bioconda.github.io/contributor/faqs.html#conda-anaconda-minconda. Retrieved 22 April 2020. 
  12. "Miniconda". https://conda.io/docs/glossary.html#miniconda-glossary. 
  13. "Anaconda Navigator". https://docs.anaconda.com/anaconda/navigator/. 
  14. 14.0 14.1 "Anaconda repository". https://anaconda.org/anaconda/repo. 
  15. "Anaconda Cloud". https://anaconda.org/. 
  16. "Managing Python with conda". https://conda.io/docs/user-guide/tasks/manage-python.html. 
  17. "What application can I access using navigator?". https://docs.anaconda.com/anaconda/navigator/#what-applications-can-i-access-using-navigator. 
  18. "The Qt Console for Jupyter". https://qtconsole.readthedocs.io/en/latest/. 
  19. 19.0 19.1 "Conda". http://conda.pydata.org/. Retrieved 9 April 2015. 
  20. "Building Conda Packages for Multiple Operating Systems". Pydannt. 29 January 2015. http://www.pydanny.com/building-conda-packages-for-multiple-operating-systems.html. Retrieved 9 April 2015. 
  21. 21.0 21.1 Doig, Christine (21 May 2015). "Conda for Data Science". http://continuum.io/blog/conda-data-science. "Conda works with Linux, OSX, and Windows, and is language agnostic, which allows us to use it with any programming language or even multi-language projects." 
  22. Gorelick (Author), Micha; Ozsvald, Ian (September 2014). High Performance Python: Practical Performant Programming for Humans (1st ed.). O'Reilly Media. pp. 370. ISBN 1449361595. https://www.amazon.com/High-Performance-Python-Performant-Programming/dp/1449361595. 
  23. Jackson, Joab (Feb 5, 2013). "Python gets a big data boost from DARPA". networkworld. http://www.networkworld.com/article/2163350/application-performance-management/python-gets-a-big-data-boost-from-darpa.html. Retrieved October 30, 2014. 
  24. Lorica, Ben (March 24, 2013). "Python data tools just keep getting better". O'Reilly Radar. http://radar.oreilly.com/2013/03/python-data-tools-just-keep-getting-better.html. Retrieved October 30, 2014. 
  25. "Miniconda". https://conda.io/docs/glossary.html#miniconda-glossary. 
  26. Mathur, Natasha (9 August 2018). "Share projects and environment on Anaconda cloud [Tutorial"]. https://hub.packtpub.com/share-projects-and-environment-on-anaconda/. 

External links