How to configure Eclipse for PyDev? Python doesn't appear in Preferences window

主宰稳场 提交于 2019-12-09 10:36:19

问题


I'm trying to install PyDev in Eclipse 3.6 on Windows 7.

I have Python 2.7 successfully installed. I installed PyDev through Eclipse, and restarted.

When attempting to configure Eclipse to find my installed Python, (Window -> Preferences) the list that appears does not contain Python. (See image below.)

If I go back to Help -> Install New Software to check what has been installed, PyDev appears as having been installed.

I've tried quitting Eclipse and opening again, with no change. I tried uninstalling PyDev, and re-installing, with no effect. Any ideas how to get Eclipse to see PyDev?


回答1:


There's an issue when installing plugins under Windows 7 with UAC (User Access Control) active. You need to run as administrator. Read my blog post for more details.




回答2:


I had the same issue with interpreters not seen for pydev/python.

I followed the link1 below, I had to use the PyDev 3.2.0.zip file and install it with 7zip in the dropin folder, for my system it is: "eclipse-SDK-3.5.2-win32-x86_64__classicversion\eclipse\dropins" folder. (if you just right click to unzip (not using 7zip) in the dropins folder, you get the 0x80010135 Path too long error). Then I had to reboot my windows 7 64bit pc to see the pydev/python interpreters. Then follow link2 and watch derek banas python online videos where he goes over the installs and tutorials.

link1: http://pydev.org/manual_101_install.html then at the bottom of the page select http://pydev.org/manual_101_interpreter.html

Note: I also had to use the unzip trick for other eclipse updates ...



来源:https://stackoverflow.com/questions/3498655/how-to-configure-eclipse-for-pydev-python-doesnt-appear-in-preferences-window

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!