问题:Anaconda与Python有何关系?

我是一个初学者,我想学习计算机编程。因此,到目前为止,我已经开始自己学习Python,并掌握了有关C和Fortran编程的知识。

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

现在,我已经有了一本书,但是,该书在版本2中进行了编码,并试图在版本3中使其尽可能接近(根据作者);作者建议“下载Windows版Anaconda”以安装Python。

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

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

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

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.

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 .

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

So, my question is: 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?

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?

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


回答 0

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

这包括:

  • 核心Python语言
  • 100多个Python“软件包”(库)
  • Spyder(IDE /编辑器-如PyCharm)和Jupyter
  • conda,Anaconda自己的软件包管理器,用于更新Anaconda和软件包

您的类可能已经推荐了这些额外功能,但是如果您不需要它们,并且可以使用香草Python也可以。

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

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

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

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.

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


回答 1

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

我在Windows和Linux上的使用经验都非常积极。它非常完整,可以避免从源代码构建所需的库时出现问题,而这些问题经常通过诸如pip之类的工具一一安装这些库。

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

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

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

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.

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.

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.

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

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


回答 2

Anaconda是基于Python的数据处理和科学计算平台。它内置了许多非常有用的第三方库。安装Anaconda等效于自动安装Python和一些常用的库,例如Numpy,Pandas,Scrip和Matplotlib,因此,它比常规的Python安装容易得多。如果您没有安装Anaconda,而是仅从python.org安装Python,则还需要使用pip逐一安装各种库。这很痛苦,您需要考虑兼容性,因此强烈建议直接安装Anaconda。

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.


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。