简体   繁体   English

我应该为PyDev下载哪个Eclipse包?

[英]Which Eclipse package should I download for PyDev?

Which Eclipse package should I choose for Python development with PyDev ? 我应该选择哪个Eclipse包用于PyDev进行Python开发?

Nothing on the Eclipse homepage tells me what to choose, and the PyDev documentation assumes I already have Eclipse installed. Eclipse主页上没有任何内容告诉我要选择什么,PyDev文档假设我已经安装了Eclipse。 Does it matter which Eclipse package I choose? 我选择哪个Eclipse包是否重要?

If you just plan on doing Python dev, I'd just go with Platform Runtime Binary . 如果你只是计划做Python开发,我会选择Platform Runtime Binary

After that, I'd follow the instructions http://pydev.org/download.html and http://pydev.org/manual_101_root.html to install PyDev. 之后,我将按照http://pydev.org/download.htmlhttp://pydev.org/manual_101_root.html的说明安装PyDev。

I use the same setup for Python development. 我使用相同的设置进行Python开发。 I also have the RadRails plugin for Ruby on Rails development. 我还有用于Ruby on Rails开发的RadRails插件。

PyDev被Aptana收购,所以你可能也想检查一下。

Assuming Python, and nothing else - I would just get the "Runtime Binary" edition of Eclipse, and add the PyDev extension. 假设Python,没有别的 - 我只是得到Eclipse的“Runtime Binary”版本,并添加PyDev扩展。 That way Eclipse starts up lightning fast, consumes less memory and generally gets in your way less. 这样Eclipse可以快速启动,消耗更少的内存,并且通常可以减少对您的影响。 On top of that, you can always add in whatever extensions/plugins you find you need. 最重要的是,您可以随时添加您需要的任何扩展/插件。 The runtime is generally around 50MB, instead of the usual 100+ for the SDK or other versions. 运行时通常大约为50MB,而不是SDK或其他版本通常的100+。

You can always find the latest version here: 你总能在这里找到最新版本:

http://download.eclipse.org/eclipse/downloads/ http://download.eclipse.org/eclipse/downloads/

At the time of this posting, that would be 3.6.1: 在发布时,那将是3.6.1:

http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php#PlatformRuntime http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php#PlatformRuntime

A useful shortcut is to download EasyEclipse for PyDev . 一个有用的快捷方式是下载EasyEclipse for PyDev This is a version of Eclipse already pre-configured for pydev, and seems to be easier to install than gathering all of the Eclipse pieces yourself. 这是已经为pydev预配置的Eclipse版本,并且似乎比自己收集所有Eclipse部分更容易安装。 Unfortunately it uses a rather old version of PyDev, but this is easily remedied by going to Help > Software Updates > and letting Eclipse grab the latest version (you'll need to change the PyDev location to SourceForge before doing this). 不幸的是它使用了相当旧版本的PyDev,但是通过转到“ Help > Software Updates >并让Eclipse获取最新版本(在执行此操作之前,您需要将PyDev位置更改为SourceForge)可以轻松解决此问题。

If you are getting started, I would recommend you python easyeclipse . 如果你开始,我会建议你python easyeclipse

Pydev can give some incompatibilities when using it together with other extensions. 当与其他扩展一起使用时,Pydev可能会出现一些不兼容性。

I prefer that you should use Luna which is a tool for Java developers creating Java EE and Web applications, surely you can add PyDev to it. 我更喜欢你应该使用Luna ,它是Java开发人员创建Java EE和Web应用程序的工具,当然你可以添加PyDev。

As you are getting started with python, eclipse and pydev, you probably need step-by-step process. 当你开始使用python,eclipse和pydev时,你可能需要一步一步的过程。

Either follow these simple steps or Watch this video . 请按照以下简单步骤操作或观看此视频

Step 1: Download and install Eclipse(Luna) 第1步:下载并安装Eclipse(Luna)

Step 2: Open Eclipse >> Help >> Install New Software... 第2步:打开Eclipse >>帮助>>安装新软件...

Step 3: In the 'Work with' textfield type : http://pydev.org/updates 第3步:在“使用”文本字段中输入: http//pydev.org/updates

Step 4: select checkbox PyDev >> next >> next >> finish 第4步:选择复选框PyDev >> next >> next >>完成

Step 5: It Will install but later a new frame will open,make sure to check on "Brainwy Software,PyDev,Brainwy >> OK 步骤5:它将安装但稍后将打开一个新框架,请务必检查“Brainwy Software,PyDev,Brainwy”OK

Eclipse will restart after you click ok. 单击确定后Eclipse将重新启动。

Step 6: Click on File >> New >> Project >> PyDev Project >> 第6步:单击文件>>新建>>项目>> PyDev项目>>

Now you have to add Interpreter. 现在你必须添加Interpreter。

Step 7: Click on "Please configure an interpreter before proceeding" 第7步:点击“请在继续之前配置解释器”

Step 8: Click on "Manual Config" 第8步:点击“手动配置”

Step 9: Click on "New" then give interpreter Name(python 2.xx or python 3.xx the version you are using) or any other name as you like. 步骤9:单击“新建”,然后根据需要提供解释器名称(python 2.xx或python 3.xx您正在使用的版本)或任何其他名称。

Step 10: Click on "Browse" to give path. 第10步:单击“浏览”以提供路径。

If you are using Windows it probably would be in C: drive, 如果您使用的是Windows,它可能位于C:驱动器中,

If you are using Ubuntu it would be in "/usr/bin/python2.x" or use command "whereis python" in terminal. 如果您使用的是Ubuntu,它将在“/usr/bin/python2.x”中或在终端中使用命令“whereis python”。

Step 11: After this Select the interpreter >> Finish. 步骤11:此后选择解释器>>完成。

And you are good to go. 你很高兴。

I'd recommend http://www.liclipse.com/ if you want a simple and straightforward setup (especially for web development, as it also has editors for web-related contents, such as html, css, javascript) or getting only the Platform Runtime Binary (which is the lightest released Eclipse with things needed for Pydev, around 47 MB -- it can be gotten at: http://download.eclipse.org/eclipse/downloads/ , selecting the version you want and then looking for the Platform Runtime Binary). 我推荐http://www.liclipse.com/如果你想要一个简单直接的设置(特别是对于web开发,因为它也有网页相关内容的编辑,如html,css,javascript)或只获得平台运行时二进制文件(这是最轻的Eclipse,包含Pydev所需的东西,大约47 MB​​ - 可以访问: http//download.eclipse.org/eclipse/downloads/ ,选择你想要的版本,然后寻找平台运行时二进制文件)。

The install instructions are at: http://pydev.org/manual_101_install.html (and from there a getting started manual follows). 安装说明位于: http//pydev.org/manual_101_install.html (从那里开始使用入门手册)。

I think that the Aptana distribution of Eclipse the the easiest way to get PyDev these days...especially since it's now free for the full version. 我认为Eclipse的Aptana发行版是最近获取PyDev的最简单方法...特别是因为它现在可用于完整版本。 If you download the Studio from here: http://www.aptana.org/ You can easily install PyDev from their plugin manager once it's up and running. 如果您从这里下载Studio: http//www.aptana.org/一旦启动并运行,您就可以从插件管理器轻松安装PyDev。

pydev and Python2.6 doesnt work with eclipse for C++. pydev和Python2.6不适用于eclipse for C ++。 Download the classic version and you should be good. 下载经典版本,你应该很好。

Usually no-one mention but Eclipse do have Python support in its DLTK (dynamic languages toolkit) plugin set. 通常没有人提及,但Eclipse在其DLTK(动态语言工具包)插件集中确实有Python支持 You certainly may want to try it. 你当然可能想尝试一下。

Anyway it is not as much functional as PyDev plugin thus you can have it securely. 无论如何它没有PyDev插件那么多功能,因此你可以安全地拥有它。 PyDev asks to accept its certificate that is vulnerability to MIM attacks. PyDev要求接受其受MIM攻击漏洞的证书。

You may want to consider PyCharm IDE as it has also PyDev work included . 你可能要考虑PyCharm IDE因为它也PyDev的工作包括 PyCharm team has own PyDev branch and had some work on its debugger. PyCharm团队拥有自己的PyDev分支,并在其调试器上有一些工作。 Some details on this collaboration. 有关此合作的一些细节

I use J2EE Eclipse for Python and Java development. 我使用J2EE Eclipse进行Python和Java开发。 It works well. 它运作良好。 But Classic Eclipse should be enought. 但应该是经典Eclipse。

I would just get [ JetBrains PyCharm Community Edition 4.5.3 ]. 我会得到[JetBrains PyCharm Community Edition 4.5.3]。 its FREE, fully featured and most of all, its dedicated for Python development. 它是免费的,功能齐全的,最重要的是,它专门用于Python开发。

there are 3 other IDE's that are great too, and they do over 30 languages each, without needing plugins and additional 18 more by adding plugins. 另外还有3个IDE也很棒,每个IDE都有超过30种语言,不需要插件,另外还有18个以上的插件。 check out --> Brackets, Atom and Visual Studio Code. 检查 - >括号,Atom和Visual Studio代码。 they are all free. 他们都是自由的。 I suggest checking out PyCharm first. 我建议先检查一下PyCharm。

Easy Eclipse for python is good and light weight tool. 简单的Eclipse for python是一款优质且重量轻的工具。 But, then you dont get any of the extra features from it. 但是,那么你没有得到任何额外的功能。

I tried to start with Django learning, but thn this version wasn't enough for it. 我试着从Django学习开始,但是这个版本还不够。 If you only opt fr simple python codes, its a very good tool. 如果你只选择fr简单的python代码,它是一个非常好的工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM