PyDev create new Django project fails

Anonymous
2010-10-01
2013-03-15
  • Anonymous - 2010-10-01

    Hello everyone,

    I'm having an issue with PyDev and Aptana Studio 3. When creating a new Django project, the wizard fails and tells me that it can't find django.core.

    I'm assuming this is because I'm leveraging virtualenv, and django is on the virtualenv's python path, and not on the system python path when the wizard runs.

    I tried creating a new Python interpreter and specifically adding the django folder to the system python path, but the wizard still fails to find django.core.

    What do I need to do to fix this issue?

    TIA,
    Brandon

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-10-02

    You need to add the folder above 'django' to the pythonpath (e.g.: if you had /site_packages/django, you should only add /site_packages to the pythonpath).

    Cheers,

    Fabio

     
  • Anonymous - 2010-10-29

    Thanks, Fabio! 

    I was just beginning to work through this same issue, and I had made the same mistake you described - /site-packages/django, instead of just the site_packages folder.

    I appreciate your help, and thanks Brandon, for raising the question.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks