简体   繁体   English

PyDev问题凝视项目

[英]PyDev problem staring project

I have downloaded the zip archive (my only option) and installed it as suggested by unzipping into the dropin folder. 我已经下载了zip归档文件(我的唯一选择),并按照解压缩到dropin文件夹中的建议安装了它。 When I try to start a project the problem occurs: 当我尝试启动项目时,出现问题:

"Plug-in org.python.pydev was unable to load class org.python.pydev.ui.wizard.project.PythonProjectWizard" “插件org.python.pydev无法加载org.python.pydev.ui.wizard.project.PythonProjectWizard类”

I've googled and the only suggestion is to re-download and re-install as it might be a corrupted install. 我已经用Google搜索过,唯一的建议是重新下载并重新安装,因为它可能是损坏的安装。 Done that, no good. 做的不好。 Any more suggestions? 还有其他建议吗? Seems PyDev have a lot of troubles getting the zip alternative to work... (judging by other similar posts) 似乎PyDev在使用zip替代品上工作时遇到很多麻烦...(根据其他类似的帖子判断)

This is regardless of Eclipse version. 这与Eclipse版本无关。

I run under WinXP. 我在WinXP下运行。

I had no luck with this. 我没有运气。 Eventually I had to download it through Eclipse download manager and it worked. 最终,我不得不通过Eclipse下载管理器将其下载,并且可以正常工作。 I guess they have some issues with the automatic plugin functionality. 我想他们在自动插件功能方面存在一些问题。

You also have to maintain in Eclipse the location of your Python installation. 您还必须在Eclipse中维护Python安装的位置。 Open in the Window ▸ Preference ▸ Pydev ▸ Interpreter Python menu. 在窗口中打开▸首选项▸Pydev▸解释Python菜单。

在此处输入图片说明

Press the New button and enter the path to python.exe in your Python installation directory. 按“新建”按钮,然后在Python安装目录中输入python.exe的路径。 For Linux and Mac OS X users this is normally /usr/bin/python. 对于Linux和Mac OS X用户,通常为/ usr / bin / python。 在此处输入图片说明

The result should look like the following: 结果应如下所示:

在此处输入图片说明

Click on Apply and then ok 单击“应用”,然后单击“确定”。

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

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