Python Anaconda 和 Pycharm 有什么区别?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/36830476/
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 18:25:00  来源:igfitidea点击:

What is the difference between Anaconda and Pycharm?

pythonuser-interfacepycharmanaconda

提问by drewteriyaki

I currently have Pycharm 5.0.4 right now and my teacher wants me to change to Anaconda.

我现在有 Pycharm 5.0.4,我的老师希望我改用 Anaconda。

Do different GUIs actually affect your programming?

What are libraries and what causes one GUI to be more advanced than another?

How does the Kernel change the way the user interfaces with the code?

不同的 GUI 真的会影响您的编程吗?

什么是库?是什么导致一个 GUI 比另一个更先进?

内核如何改变用户与代码交互的方式?



I am a beginner at python and I'm not sure if Pycharm is best for me... For beginners is Pycharm still the best?

我是 python 的初学者,我不确定 Pycharm 是否最适合我......对于初学者来说,Pycharm 仍然是最好的吗?

回答by wp-overwatch.com

PyCharm is a IDE, anaconda is a set of libraries (a distribution). The good news is that pyCharm supports anoconda. Below is some documentation I pulled from the Wayback Machine (for some reason Anaconda removed their documentation on integrating with Pycharm). If any part of this is outdated, please let me know so I can update it.

PyCharm 是一个 IDE,anaconda 是一组库(一个发行版)。好消息是 pyCharm 支持 anoconda。下面是我从 Wayback Machine 中提取的一些文档(出于某种原因,Anaconda 删除了他们与 Pycharm 集成的文档)。如果其中的任何部分已过时,请告诉我,以便我进行更新。



Use PyCharm's Preferences to set it to use Anaconda. There are multiple methods to access the Preferences Window, including selecting Preferences within the PyCharm file menu or by clicking the Preferences icon in the top icon bar.

使用 PyCharm 的首选项将其设置为使用 Anaconda。有多种方法可以访问首选项窗口,包括在 PyCharm 文件菜单中选择首选项或单击顶部图标栏中的首选项图标。

enter image description hereenter image description here

在此处输入图片说明在此处输入图片说明

After the Preferences window is open, navigate to Project Interpreter -> Python Interpreters. Click on the + sign to add Anaconda to the Python Interpreters list.

在 Preferences 窗口打开后,导航到 Project Interpreter -> Python Interpreters。单击 + 号将 Anaconda 添加到 Python Interpreters 列表。

enter image description here

在此处输入图片说明

If the Anaconda Python path is not listed, select Local... and navigate to the directory in which you installed Anaconda Python. Typically this directory is ~/anaconda/bin/python.

如果未列出 Anaconda Python 路径,请选择本地...并导航到安装 Anaconda Python 的目录。通常这个目录是~/anaconda/bin/python.

After you have added Anaconda, you will see it displayed in the list of Python Interpreters, along with the other packages that were installed with it. Click OK. The PyCharm IDE is now set up to use Anaconda.

添加 Anaconda 后,您将看到它显示在 Python 解释器列表中,以及随它安装的其他包。单击确定。PyCharm IDE 现在已设置为使用 Anaconda。

enter image description hereMORE INFO: Configuring available packagesand configuring Anaconda environment.

在此处输入图片说明更多信息:配置可用包配置 Anaconda 环境



See also Using (Ana)conda within PyCharm.

另请参阅在 PyCharm 中使用 (Ana)conda

回答by Pierre Barre

They can't be compared. In fact, Anaconda is not an IDE, Anaconda is a Python distribution, according to their website:

他们不能相提并论。事实上,Anaconda 不是一个 IDE,Anaconda 是一个 Python 发行版,根据他们的网站

Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes more than 400 of the most popular Python packages for science, math, engineering, and data analysis. See the packages included with Anaconda and the Anaconda changelog.

Anaconda 是一个完全免费的 Python 发行版(包括用于商业用途和再发行版)。它包括 400 多个最流行的用于科学、数学、工程和数据分析的 Python 包。查看 Anaconda 随附的软件包和 Anaconda 更新日志。

Actually, you can even use Anaconda with PyCharm, according to the PyCharm website:

实际上,根据 PyCharm 网站,您甚至可以将 Anaconda 与 PyCharm 一起使用:

PyCharm integrates with IPython Notebook, has an interactive Python console, and supports Anaconda as well as multiple scientific packages including Matplotlib and NumPy.

PyCharm 与 IPython Notebook 集成,具有交互式 Python 控制台,并支持 Anaconda 以及包括 Matplotlib 和 NumPy 在内的多个科学包。