简体   繁体   中英

How open existing PyDev project?

Experienced Programmer, but new to Python. Using OsGeoLive and PyDev on Eclipse.

A few weeks ago I started a new project in PyDev (my first one). I set the project aside and am only now coming back to it. But when I open Eclipse, I do not see any way to open the project I started. There is no Recent Projects on the File Menu, File > Import does not seem to be what I need. The Project menu has an Open Project item, but it is deactivated. When I open the project's .xml file from Eclipse, it opens it as an editable XML file.

How do I open an existing PyDev project, or alternately, how do I trouble shoot PyDev losing track of the directory structure?

Locate the Package Explorer window and see if there any project folders in there. You also have the option to see "Working Sets", which are convenient to create projects distributed through several folders. Just to make sure, check out if you see something like this (You can display Projects with the prompted submenu):

在此处输入图片说明

If you don't see anything there, perhaps your project folder is missing an init .py file, in order to be recognized as a package, which is a general Python standard.

Sorry if this doesn't help much, I cannot leave comments yet.

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