简体   繁体   中英

eclipse pydev: unable to create pydev project

I've successfully installed pydev into eclipse:

在此处输入图片说明

Anyway, I'm unable to use my existing python sources to create a pydev project. When I click File > New > Project, there's no pydev

在此处输入图片说明

What can I do to create new pydev project?

After some investigation I've found that version of JDK was wrong. I must have installed jdk6 first, then eclipse, then install jdk7 and then installed pydev. My default jdk was 6 (this can be changed, as stated here ). When eclipse is fired from jdk6, it will never see pydev. When I run eclipse manually under jdk7, pydev appeared :)

./eclipse -vm /usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java

so make sure you use jdk7 to run eclipse and it should be fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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