Unable to create Django project in PyDev

I am running Eclipse Kepler 4.3 with PyDev 3.0 on Ubuntu 12.04 LTE. I have Python 2.7 installed by default. I installed Django with:

sudo pip install django 

I installed PyDev from the update site and configured the interpreter using Quick Auto-Config. I see the path /usr/local/lib/python2.7/dist-packages in the Libraries section where Django is installed.

I can successfully create regular PyDev projects, and I see the django package in System Libs. But when I try to create a PyDev Django project, the Next and Finish buttons are disabled. Therefore, I cannot create a project. I do not see any error, but the buttons remain disabled for any project name.

Is this a PyDev error or an interpreter configuration error? Can anyone suggest how to resolve it?

Update: I just started working. If I create a simple PyDev project and save it in the workspace. After that, I can successfully create PyDev Django projects. But if I delete the simple PyDev project, it will stop working again. Therefore, for a workaround, I created a dummy PyDev project and saved it in my workspace. However, it would be nice if someone can offer the right solution.

+7
python eclipse django ubuntu pydev
source share
4 answers

As stated above in Fabio, this was a bug in PyDev. Now it is fixed (thanks Fabio)

To make it work:

  • Add Pydev Nightly to Your Update Sites
  • Update to version 3.2.1 (stable versions 3.2.0.x or lower do not include a fix)

It worked for me

Env:

  • Ubuntu 13.10
  • Eclipse 4.2.2
  • Interpreters Python 2.7 and 3.3
+1
source share

I was able to solve this problem by installing Pydev's version of the "nightly build" as suggested by Yang.

Steps: 1) Uninstall all previous versions from Eclipse (Help> Install new software ... already installed> Select pydev and uninstall

2) Install the new version (Help> Install new software> Add ...> Enter the name: "Pydev Nightly", Location: " http://nightly.aptana.com/pydev/site.xml "

3) Install and restart. You should now go to File> New> Other ...> PyDev> Pydev Project

+1
source share

In my case, it worked with PyDev 4.5

Open Eclipse Kepler. Go to> Help> Install New Software.

Click Add. Add New Repository

Title: pydev4.5

Location: https://dl.bintray.com/fabioz/pydev/4.5.0/

Click ok

Wait a few seconds and it will display the PyDev package above. Select PyDev, click "Next" and enable

This works for me.

+1
source share

PyDev update. I am working with the same issue when upgrading Django to 1.5. Even the project folder structure is different.

0
source share

All Articles