Cannot create Django Project in PyDev

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

sudo pip install django

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

I can create normal PyDev projects successfully and I can see django package in System Libs. But when I try to create PyDev Django project, 'Next' and 'Finish' buttons are disabled. So I can't create the project. I am not seeing any error but the buttons stay disabled for any project name.

Is this a PyDev bug or a mistake in interpreter configuration? Can anyone suggest how to resolve it?

Update: I have just got it working. If I create a simple PyDev project and keep it in workspace. After that I can create PyDev Django projects successfully. But if I delete simple PyDev project, it stops working again. So for a workaround, I have created a dummy PyDev project and kept it in my workspace. However, it would be good if someone can suggest a proper solution.


As stated by Fabio above, it was a bug in PyDev. It has now been corrected (thanks Fabio)

To make it working:

  • Add Pydev Nightly builds to your update sites
  • Upgrade to build 3.2.1 (stable versions 3.2.0.x or lower do not include the fix)
  • It worked for me

    Env:

  • Ubuntu 13.10
  • Eclipse 4.2.2
  • Python interpreters 2.7 & 3.3

  • I was able to solve this by installing the "nightly build" version of Pydev as per Jan's suggestion.

    Steps: 1) Uninstall any 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 Name: "Pydev Nightly", Location: "http://nightly.aptana.com/pydev/site.xml"

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


    In my case it worked with PyDev 4.5

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

    Click on Add.. Add a new repository

    Name: pydev4.5

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

    Click on Ok

    Wait few seconds and it shows PyDev package above. Select PyDev, click on Next and go on

    It works for me.

    链接地址: http://www.djcxy.com/p/17534.html

    上一篇: C ++

    下一篇: 无法在PyDev中创建Django项目