Anaconda 与 Python 有什么关系?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/42096280/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 21:14:37  来源:igfitidea点击:

How is Anaconda related to Python?

pythonpython-3.xanaconda

提问by SchrodingersCat

I am a beginner and I want to learn computer programming. So, for now, I have started learning Python by myself with some knowledge about programming in C and Fortran.

我是初学者,我想学习计算机编程。所以,就目前而言,我已经开始自学 Python,并掌握了一些 C 和 Fortran 编程知识。

Now, I have installed Python version 3.6.0 and I have struggled finding a suitable text for learning Python in this version. Even the online lecture series ask for versions 2.7 and 2.5 .

现在,我已经安装了 Python 3.6.0 版,我一直在努力寻找适合在此版本中学习 Python 的文本。甚至在线讲座系列也要求版本 2.7 和 2.5 。

Now that I have got a book which, however, makes codes in version 2 and triesto make it as close as possiblein version 3 (according to the author); the author recommends "downloading Anaconda for Windows" for installing Python.

现在,我有一本书,然而,使得第2版代码和尝试,使之尽可能接近3(根据作者)版本; 笔者推荐“下载Anaconda for Windows”来安装Python。

So, my questionis: What is this 'Anaconda'? I saw that it was some open data science platform. What does it mean? Is it some editor or something like Pycharm, IDLE or something?

所以,我的问题是:这个“蟒蛇”是什么?我看到它是一些开放的数据科学平台。这是什么意思?是一些编辑器还是 Pycharm、IDLE 之类的东西?

Also, I downloaded my Python (the one that I am using right now) for Windows from Python.org and I didn't need to install any "open data science platform". So what is this happening?

此外,我从 Python.org 下载了适用于 Windows 的 Python(我现在正在使用的 Python),并且不需要安装任何“开放数据科学平台”。那么这是怎么回事呢?

Please explain in easy language. I don't have too much knowledge about these.

请用通俗的语言解释。我对这些没有太多了解。

采纳答案by jambrothers

Anacondais a python and R distribution. It aims to provide everything you need (Python-wise) for data science "out of the box".

Anaconda是一个 python 和 R发行版。它旨在为“开箱即用”的数据科学提供您所需的一切(Python 智能)。

It includes:

这包括:

  • The core Python language
  • 100+ Python "packages" (libraries)
  • Spyder (IDE/editor - like PyCharm) and Jupyter
  • conda, Anaconda's own package manager, used for updating Anaconda and packages
  • 核心 Python 语言
  • 100 多个 Python“包”(库)
  • Spyder(IDE/编辑器 - 像 PyCharm)和 Jupyter
  • conda, Anaconda 自带的包管理器,用于更新 Anaconda 和包

Your course may have recommended it as it comes with these extras but if you don't need them and are getting on fine with vanilla Python that's OK too.

您的课程可能会推荐它,因为它带有这些附加功能,但如果您不需要它们并且使用普通 Python 也可以。

Learn more: https://www.anaconda.com/distribution/

了解更多:https: //www.anaconda.com/distribution/

回答by Jacques de Hooge

Anaconda is a Python distribution that makes it easy to install Python plus a number of its most often used 3rd party libraries in a flexible way on a Windows or Linux machine.

Anaconda 是一个 Python 发行版,可以轻松地在 Windows 或 Linux 机器上以灵活的方式安装 Python 及其许多最常用的第 3 方库。

My experiences with it are very positive, both on Windows and Linux. It is quite complete and avoids problems in building libraries that you need from source code, that frequently plague one by one installations of those libraries by tools like pip.

我在 Windows 和 Linux 上的体验都非常积极。它非常完整,并且避免了从源代码构建您需要的库时出现的问题,这些问题经常困扰着像 pip 这样的工具一一安装这些库。

By the way: It's very wise to start with 3.5 or 3.6 since 2.7 is approaching the end of its lifecycle, though many applications still depend on it.

顺便说一句:从 3.5 或 3.6 开始是非常明智的,因为 2.7 即将结束其生命周期,尽管许多应用程序仍然依赖于它。

As for tutorials: Pythons own docs are quite suitable for learning the language.

至于教程:Python 自己的文档非常适合学习这门语言。

https://docs.python.org/3/tutorial/

https://docs.python.org/3/tutorial/

回答by Victoria Zhou

Anaconda is a Python-based data processing and scientific computing platform. It has built in many very useful third-party libraries. Installing Anaconda is equivalent to automatically installing Python and some commonly used libraries such as Numpy, Pandas, Scrip, and Matplotlib, so it makes the installation so much easier than regular Python installation. If you don't install Anaconda, but instead only install Python from python.org, you also need to use pip to install various libraries one by one. It is painful and you need to consider compatibility, thus it is highly recommended to directly install Anaconda.

Anaconda 是一个基于 Python 的数据处理和科学计算平台。它内置了许多非常有用的第三方库。安装Anaconda就相当于自动安装了Python和一些常用的库,比如Numpy、Pandas、Scrip、Matplotlib,所以安装比普通的Python安装简单多了。如果不安装Anaconda,而是只从python.org安装Python,还需要使用pip来一一安装各种库。很痛苦,需要考虑兼容性,所以强烈建议直接安装Anaconda。